getPageTimeout is not working. "protractor": "5.4.2"
See original GitHub issuegetPageTimeout is waiting time for page to be loaded. Default wait time in 10 sec. I tried to change it to 1 second just for checking its functionality. I am expecting to give Error: Timed out waiting for page to load after 1000ms but it didn’t. Conf file:
exports.config = {
specs: ['../Spec Files/DropdownHandling.js'],
getPageTimeout: 1000,
}
Spec file:
describe('Handling dropdown', () => {
it('Verify options', () => {
browser.get("https://www.mobikwik.com/");
element(by.model('operator')).click();
});
});
Even I tried by passing it to get(url, time) as well. But it didn’t work.
Is it something like we can not set less than default page load time out
Looking forward for the help.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
When using Protractor 5.4.2, webdriver-manager downloads ...
I introduced a bug when I tried to quickly fix the issue in 12.1.3 causing this to not work. Background on webdriver-manager downloading ......
Read more >protractor | Yarn - Package Manager
Protractor runs tests against your application running in a real browser, ... BREAKING CHANGE: Debugger and explore methods are not compatable with Node...
Read more >Timeouts - Protractor - end-to-end testing for AngularJS
Protractor waits for the angular variable to be present when loading a new page. Looks like: an error in your test results -...
Read more >protractor/CHANGELOG.md - UNPKG
protractor /CHANGELOG.md ; 384, seems to fix up some unreliable download issues that we were previously having. ; 385 ; 386, - ([7aeebd6](https://github.com/angular ......
Read more >5.4.2 - protractor - npm
Keywords · Install · Repository · Homepage · Version · License · Unpacked Size · Total Files · Issues.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes the page is angular and it is a mobile application. Error is: Failed: script timeout: result was not received in 11 seconds. It is not entering the data in elements.It used to work earlier. I have upgraded protractor to Version 5.4.2
@AyeshaBegam was this issue ever resolved? I believe I’m also running into this.