microsoft / WinAppDriver

Windows Application Driver
MIT License
3.69k stars 1.4k forks source link

Support for Selenium 4 #1839

Open lawcrens opened 1 year ago

lawcrens commented 1 year ago

Hello,

Wanted to request that WinAppDriver is supported on Selenium 4. Selenium 3 has been deprecated for a year

pm90pl commented 1 year ago

What do you exactly mean by 'Selenium 4 support '? WinAppDriver implements W3 WebDriver standard. Selenium 4 is a client implementation that consumes W3 WebDriver API.

lawcrens commented 1 year ago

I and many others have been getting an error when running WinAppDriver.

https://stackoverflow.com/questions/74632066/appium-winappdriver-and-selenium-4

https://stackoverflow.com/questions/72921159/winappdriver-reference-to-type-ifindsbytagname-claims-it-is-defined-in-webdr

https://stackoverflow.com/questions/74138893/selenium-4-not-compatible-with-winappdriver

The consensus is that WinAppDriver is not compatible with Selenium 4. If this is not the case, do you know how can this can be troubleshooted?

DLightstone commented 1 year ago

One may stand to gain by considering WinAppDriver to be a moot which serves to protect Microsoft from firms that would like to nibble at their market positions (ie a product entrance barrier)

A moot does not have to be supported and isn't.

I would consider converting the application into something that can be tested without using WinAppDriver, you have tom protect your investment from obsolescence

You can learn a lot about motivation and transparency by posting a comment that some might erroneously consider disparaging

PavanMudigondaTR commented 1 year ago

I have the same question ! Please someone from Microsoft please answer !

farnsword commented 1 year ago

Hey everyone. Can anyone advise if it is going to happen? It is a kind of blocker.

pm90pl commented 1 year ago

Yeah. So, the current version is not compatible with W3C WebDriver standard what makes it incompatible with Selenium 4. There is no clear roadmap for WAD and it's not open source so you have to deal it on your own. Upgrading Selenium without checking WAD compatibility was a mistake. Sorry.

farnsword commented 1 year ago

Well, at this point I only need to update the selenium version to 4.0 as using the latest Chrome version requires Selenium v4, so I stuck with Chrome v95. As a last resort - this repository is under an MIT license which allows forking and modification, so may try to build our own version of it. Thanks for the answer.

pm90pl commented 1 year ago

But this repo contains only examples, not WinAppDriver implementation.

farnsword commented 1 year ago

Oh my...thanks for pointing that out. Tough luck then.

PavanMudigondaTR commented 1 year ago

I have this email address of Microsoft team winappdriverteam@microsoft.com

d2a-raudenaerde commented 1 year ago

Has anybody sent them an email yet?

DLightstone commented 1 year ago

The dear folks at Microsoft read the postings.

To determine it for yourself, post a disparaging comment and wait for it to be hidden or deleted

No reply means minimal support or no support

PavanMudigondaTR commented 1 year ago

Sent. I request everyone to send a email. To save time you can copy and send the below.

winappdriverteam@microsoft.com

Hi WinAppDriver Team at Microsoft,

Thanks for all the great work so far!

We are looking for support for Selenium 4 Java for WinAppDriver. We would appreciate if someone could look at this thread and respond back on your plans !

https://github.com/microsoft/WinAppDriver/issues/1839#issuecomment-1382019123a

d2a-raudenaerde commented 1 year ago

@PavanMudigondaTR thanks for the template!. Would you please edit it and add 'Thanks for all the great work so far!' as first line? Thanks :)

nguyenquangtay commented 1 year ago

sent also, thanks! :)

dmridul1827 commented 1 year ago

thanks everyone for bringing it up. I am also facing same issue while migrating winappdriver to work with Sel 4.

Any further update or resolution, anyone has? Would be grateful!

ShinjiruPP commented 1 year ago

Are there some updates??? About Selenium4 + WinAppDriver ?? It is blocker for the new development about Test Automation framework.

DLightstone commented 1 year ago

ShinjiruPP Generally speaking I would interpret an absence of a reply to mean - no updates planed

The preferred development environment is the one that works, not the one which uses the lasted and greatest infrastructure.

This may mean having to manually test things that are not present in the old infrastructure.

StavHayounNoiberg commented 1 year ago

Any updates or answer from Microsoft regarding this issue?

fastinggirl commented 1 year ago

Any update on this?

sunrise-soft commented 1 year ago

Hi there! Seem this is an abandoned project :( I just wonder does Microsoft apply test automation for their Desktop applications and if yes, which one they're using

RamaNarasimhaChanda commented 1 year ago

Hi All, Since we are not having update from micro soft on this . What is the alternative approach other's are using can you please share.

daluu commented 1 year ago

Well, obviously, for this issue, I can think of 2 workarounds/alternatives:

There are alternative tools mentioned in various comments in #1550, and I sort of compiled a list in https://github.com/Accruent/robotframework-applicationlibrary/issues/72#issuecomment-1745389341

AG-QALab commented 9 months ago

Its working.

alatriste1982 commented 3 months ago

Any update from MS on this one?