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

The driver is crashing silently and new browser instance created while using browser.DevTools.EnablePerfomanceMonitoring() #224

Open
DmitryBogatko opened this issue Dec 19, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DmitryBogatko
Copy link
Contributor

I have following code:

 var browser =  AqualityServices.Browser;
 browser.GoTo("some-url");

await browser.DevTools.EnablePerfomanceMonitoring();
    
var submitBtn = AqualityServices.Get<IElementFactory>().GetButton(By.Id("some-id"), "Telecash payment submit");

// driver will be crashed on the next line
submitBtn.ClickAndWait();

On the line submitBtn.ClickAndWait(); the driver is crashing and it looks like the second attempt is trying to re-create driver.
It would be much nicer to have an exception in such cases. Could you please take a look?

@DmitryBogatko DmitryBogatko added the bug Something isn't working label Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants