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

Screenshot timeout (handling alert()) #71

Closed
JoshuaMart opened this issue Sep 29, 2020 · 2 comments
Closed

Screenshot timeout (handling alert()) #71

JoshuaMart opened this issue Sep 29, 2020 · 2 comments
Labels

Comments

@JoshuaMart
Copy link

Hello,
Thanks for your tools, the new features are very interesting. However, I encounter a problem, it sometimes happens that the screenshot capture remains blocked (for example on a site that displays a popup like alertbox).

If GoWitness is launched in a script, the execution of the script is blocked.

Is it possible to add a default timeout or to be able to set this option?

Thank's,
Jomar

@leonjza leonjza added the bug label Sep 29, 2020
@leonjza
Copy link
Member

leonjza commented Sep 29, 2020

Looks like there is a way to handle alert's as described here. We could implement HandleJavaScriptDialog as shown here.

@leonjza leonjza changed the title Screenshot timeout Screenshot timeout (handling alert()) Dec 9, 2020
Serizao added a commit to Serizao/gowitness that referenced this issue Mar 3, 2021
Serizao added a commit to Serizao/gowitness that referenced this issue Mar 3, 2021
leonjza pushed a commit that referenced this issue Mar 3, 2021
* fix alert box blocking

fix bug #71

* Update fix in full screen case

fix bug  #71
@JoshuaMart
Copy link
Author

Seem's ok, thank's @Serizao

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

No branches or pull requests

2 participants