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

Exception handler #10

Open
Mecanik opened this issue May 28, 2020 · 1 comment
Open

Exception handler #10

Mecanik opened this issue May 28, 2020 · 1 comment

Comments

@Mecanik
Copy link

Mecanik commented May 28, 2020

First thing, amazing project. Just amazing. You saved me a TON of time.

Is there a way to catch/handle these sort of exceptions ? https://prnt.sc/spbhlg

This happens when I try to use proxies, and the weird thing is that eventually the browser loads.

@Mecanik
Copy link
Author

Mecanik commented May 28, 2020

It seems like in my case it is crashing because:

org.openqa.selenium.InvalidArgumentException: invalid argument: entry 0 of 'firstMatch' is invalid
from invalid argument: cannot parse capability: proxy
from invalid argument: Specifying 'socksProxy' requires an integer for 'socksVersion'

So back again to the question, how to catch these errors and show some details ?

Thanks

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

1 participant