C
C#6mo ago
Qwerz

✅ Selenium Vs. WebView

Hi, Quick question: does WebView2 make Selenium obsolete? Assuming the goal is to create the automation of a headless browser. I have no prior experience with WebView, but am contemplating whether it’s worth getting into and ditching Selenium. I’m not 100% sure though if it offers the exact same feature set. Thanks I’m advance.
12 Replies
x0rld
x0rld6mo ago
it's possible with webview to programmaticly control everything ? @Qwerz
Qwerz
Qwerz6mo ago
Is that a question?
x0rld
x0rld6mo ago
yeah I'm not sure to understand yours webview and browser driver are 2 different technology
Qwerz
Qwerz6mo ago
I want to fully navigate, automate, interact (download/ upload data) with a website using a headless browser in the background of my application. Question: do I need something like Selenium or does WebView cover all that natively?
x0rld
x0rld6mo ago
first if you want to run on other os than windows it wont work
Qwerz
Qwerz6mo ago
Assuming my target os is windows. (Server)
x0rld
x0rld6mo ago
I don't see any doc speaking about controlling where did you see that ?
Qwerz
Qwerz6mo ago
I didn’t I was asking if it covers that and if someone would have said yes, then I’d have looked more into it. So WebView is literally only for “viewing” not controlling? That sounds quite weak.
x0rld
x0rld6mo ago
yeah that's all the point if you want to do automation playwright is easier than selenium
Qwerz
Qwerz6mo ago
Ok, thanks for clarifying that. Although I’m not quite sure why something like that would be implemented in such a way. I’ll stick with Selenium then, I’m already comfortable with it. Thank you friend!
x0rld
x0rld6mo ago
ok $close
MODiX
MODiX6mo ago
Use the /close command to mark a forum thread as answered