appium / dotnet-client

Extension to the official Selenium dotnet webdriver
Apache License 2.0
373 stars 186 forks source link

Implementing ICommandExecutor's ExecuteAsync() and using it in Execute() #802

Closed kelmelzer closed 20 hours ago

kelmelzer commented 6 days ago

I think this should fix it in Selenium 4.22+, but its untested so far of course. :)

List of changes

Implemented ICommandExecutor's ExecuteAsync(). Moved Execute() code to there and call it from Execute() with Task.Run()

Types of changes

What types of changes are you proposing/introducing to the .NET client? Put an x in the boxes that apply

Documentation

Integration tests

linux-foundation-easycla[bot] commented 6 days ago

CLA Signed


The committers listed above are authorized under a signed CLA.

Dor-bl commented 6 days ago

@kelmelzer, thank you for your contribution. In order for the build to pass, you will need to update the selenium dependencies as part of this PR.

kelmelzer commented 21 hours ago

@kelmelzer, thank you for your contribution. In order for the build to pass, you will need to update the selenium dependencies as part of this PR.

Sure thing. I did that by hand but will fork it and actually build it on my personal machine shortly :)

Dor-bl commented 21 hours ago

@kelmelzer, thank you for your contribution. In order for the build to pass, you will need to update the selenium dependencies as part of this PR.

Sure thing. I did that by hand but will fork it and actually build it on my personal machine shortly :)

This will not work for you because the Selenium team needs to fix the encapsulation they broke on internal Response Execute. So it would be best if you waited for the next release.

kelmelzer commented 20 hours ago

Closing pull request. I made a new one which fixes the build and wraps ExecuteAsync() properly