app.client inaccessible
See original GitHub issueI am using spectron with mocha. All functions which don’t use app.client work very well like
it('screenshot', function (done) {
this.app.browserWindow.capturePage().then(function (imageBuffer) {
fs.writeFile(__dirname+'/page.png', imageBuffer, function () {
done();
});
});
});
It opens the window, take a screenshot and close the window.
But all functions like this.app.client.getTitle()
, this.app.client.getWindowCount()
or this.app.client.getText('#title')
totally mess up. For example getWindowCount()
returns 2 whereas there is only one window.
Do you know the origin of this bug ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
10 Risks Associated with Inaccessible Websites and Mobile ...
Have you ever considered the legal risks associated with your company—or your client's—website or mobile app not being fully accessible to ...
Read more >takeElementScreenshot inaccessible via app.client (Spectron ...
I was made to believe that Spectron encompasses WebdriverIO, and all wdio functionality is available via app.client.
Read more >How do I troubleshoot an inaccessible Web App Server in the ...
How do I troubleshoot an inaccessible Web App.. ... need to use the ping command in the Windows command prompt (cmd) of the...
Read more >My experiences with inaccessible job applications & how to fix ...
The college's application system had issues that prevented me from entering my employment and educational history in their online application.
Read more >Service with wsDualHttpBinding inaccessible after client ...
I'm developing an application that uses the wsDualHttpBinding model in a service hosted by IIS. It works appropriately sending duplex ...
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
I’ll have to take a look about what information ChromeDriver returns for dev tools windows to see if they can be distinguished from regular browser windows.
You may use an environment variable or an argument of your application in order to hide the devTools with spectron. In fact, they wont be there in production.