Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome://accessibility resets upon re-instancing chrome #95

Open
Xepheryy opened this issue Oct 26, 2018 · 4 comments
Open

Chrome://accessibility resets upon re-instancing chrome #95

Xepheryy opened this issue Oct 26, 2018 · 4 comments

Comments

@Xepheryy
Copy link

I noticed that whenever Chrome re-instantiates, the Chrome://accessbility page resets. This severely limits the interaction between the framework and Chrome, my current workaround is to use another browser such as Firefox.

Use case : Web application testing

Is there a suggested way of enabling this access permission in Chrome within the framework?

@mmarquee
Copy link
Owner

mmarquee commented Oct 26, 2018

You should be able start the browser with --force-renderer-accessibility as an option. I've not tested this yet, but I will, and then add it to the documentation, together with an example

See: https://www.chromium.org/developers/design-documents/accessibility

@Xepheryy
Copy link
Author

In my usage, rather than attaching to the Chrome application after executing it with --force-renderer-accessibility/ manually setting it via Chrome://accessibility, I launch the chrome application from my code itself.
Hence my question in the original comment.

@mmarquee
Copy link
Owner

mmarquee commented Jan 1, 2019

I have just pushed some changes to the develop branch with an example of starting Chrome with the correct parameters. I've added some documentation (using the same example). Can you see whether it works for you (sorry about the HUGE delay, I've been snowed under at work)

@mmarquee
Copy link
Owner

Updated documentation is here ...

https://github.com/mmarquee/ui-automation/blob/master/docs/chrome.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants