You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that await browser.takeScreenshot() is hanging in my configuration. I've confirmed that await browser.getTitle() works.
Control flow is off and I'm using mocha + chai-as-promised to run tests.
My code looks like this:
it(`should take a screenshot`,async()=>{console.log('x');// take a screenshotconstn=awaitbrowser.getTitle();console.log('n',n);constx=awaitbrowser.takeScreenshot();console.log('y');});
And the result:
Node Version: 12.15.0
Protractor Version: 5.4.3
Angular Version: 1.7.9
Browser(s): Chromium 79.0.3945.130 Built on Ubuntu , running on Ubuntu 16.04
Bug report
It appears that
await browser.takeScreenshot()
is hanging in my configuration. I've confirmed thatawait browser.getTitle()
works.Control flow is off and I'm using mocha + chai-as-promised to run tests.
My code looks like this:
And the result:
12.15.0
5.4.3
1.7.9
Chromium 79.0.3945.130 Built on Ubuntu , running on Ubuntu 16.04
Ubuntu 16.04
webdriver-manager status
output[10:36:32] I/status - selenium standalone version available: 3.141.59 [last]
[10:36:32] I/status - chromedriver versions available: 79.0.3945.130 [last], 80.0.3987.16
The text was updated successfully, but these errors were encountered: