Skip to content

It is impossible to create Aquality.Browser with new Selenium.Support version 4.8.1 #228

@sylivanvv

Description

@sylivanvv

I have updated Selenium.Driver and Selenium.Support packages and since then my autotests have failed to start on this line
return new Browser(chromeDriver);
with this error :

System.TypeLoadException : Method 'Dispose' in type 'Aquality.Selenium.Browsers.JavaScriptHandling' from assembly 'Aquality.Selenium, Version=4.11.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

I've checked patch notes in the selenium package, and it looks like some changes break Aquality.Browsers because it doesn't implement an IDisposable interface

  • IJavascriptEngine implements IDisposable where available (#11594)

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions