Skip to content

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

Open
@DmitryBogatko

Description

@DmitryBogatko

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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions