cnishina on selenium4
chore(release): bumpb version t… (compare)
Hello,
I have an angular app that is on angular v5. Company app that I cannot upgrade at the moment. Want to setup Protractor e2e tests (Using Cucumber). We have different environments (Dev, Test, Prod, etc.). All environments would have same settings with different values (like all environments have apiKey setting but value different in each environment). How do I pass environment variable to the ng e2e
command and use it to load the right configs? I have settings in a json file.
Hello, when I running all the specs I am getting below error. <--- Last few GCs --->
[13148:000001416C79F440] 4115812 ms: Scavenge 1354.6 (1422.0) -> 1354.3 (1422.5) MB, 6.9 / 0.0 ms (average mu = 0.097, current mu = 0.057) allocation failure
[13148:000001416C79F440] 4115841 ms: Scavenge 1354.9 (1422.5) -> 1354.6 (1423.5) MB, 7.2 / 0.0 ms (average mu = 0.097, current mu = 0.057) allocation failure
[13148:000001416C79F440] 4115883 ms: Scavenge 1355.3 (1423.5) -> 1355.0 (1424.0) MB, 8.5 / 0.0 ms (average mu = 0.097, current mu = 0.057) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x0172a561e6e9 <JSObject>
0: builtin exit frame: parse(this=0x0172a5611a21 <Object map = 000002CE34A842A9>,0x00c2bfb02201 <Very long string[640958]>,0x0172a5611a21 <Object map = 000002CE34A842A9>)
1: .json [0000030832543D99] [internal/modules/cjs/loader.js:797] [bytecode=00000372EDECAC29 offset=51](this=0x0244e3b84d69 <Object map = 000002CE34A869D9>,module=0x030c98e90159 <Module map = 000002CE34AD3F59>,filename=...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Hi I try to run protractor I got an error about ] E/runner - Unable to start a WebDriver session.
[16:44:12] E/launcher - Error: WebDriverError: unknown error: cannot find Chrome binary
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 10.0.19041 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 68 milliseconds I killed my crome driver I resetuo npm install
How can I solve
Hi i am trying to run protractor using jenkins in linux box, when the job is executed it is giving an error
[21:58:12] I/direct - Using ChromeDriver directly...
[21:58:12] E/launcher - unknown error: cannot find Chrome binary
(Driver info: chromedriver=91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}),platform=Linux 3.10.0-862.11.6.el7.x86_64 x86_64)
[21:58:12] E/launcher - WebDriverError: unknown error: cannot find Chrome binary
can any one solve this error?