cnishina on selenium4
chore(release): bumpb version t… (compare)
wait for angular waits for angular to exit the zone. If your app does not exit the zone, the page will keep waiting and your script will timeout.
it is perfectly fine to not wait for angular. Just know that you should put browser.waits to wait for an element to appear on the page on load instead.
I was just starting to use Protractor and our app requires authentication so I had to turn off wait for angular so that I could handle the redirect to tour login page (Azure ADB2C) and they login and come back to the app. First is it ok/recommended to turn wait for Angular back on or am I now relegated to doing waits with ExpectedConditions?
Hi all, if you're using Protractor with ChromeDriver 91, your tests might break - check out my recent article describing the problem and potential solutions.
Also, I've just published:
Run npm update
to update them on your project.
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