In selenium Can we interact with browsers directly without using browsers web drivers like codedui

+1 vote
HI ,

In Coded ui we are not using any browsers webdrivers. we are using as below

BrowserWindow bw = BrowserWindow.Launch(new System.Uri("https://www.google.com") .

all the browser engines are build on js, only then why we  browser specific webdrivers . could u plz guide on this.
Aug 20, 2020 in Selenium by anonymous
• 3,190 points
825 views
The Selenium automation tools speak a language known as Selenese. Rather than issuing Selenese directly to the different types of browsers, web drivers are used to perform the translation. Btw what's your requirement though?!

1 answer to this question.

0 votes

As per my understanding of your query, you mean to ask the need for a web driver. 

If that's true you should know that Actually, we are implementing "Web driver" which is an interface in selenium.

 All browser-dependent drivers like ChromeDriver, FirefoxDriver, InternetExplorerDriver are Java classes that implement the WebDriver interface. 

This information is important because if you want to run your program against a different browser you do not need to change a bunch of your code for it to work, you just need to swap out the WebDriver for whichever browser you want.

Hope this helps!

answered Aug 20, 2020 by Sirajul
• 59,230 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

How can we take screenshots of tests in Selenium 2 using C#

Hey, try using following code command to ...READ MORE

answered Aug 23, 2019 in Selenium by Abha
• 28,140 points
1,000 views
+2 votes
3 answers

How can we handle authentication popup in Selenium WebDriver using Java

1) By passing user credentials in URL. String ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
28,423 views
+4 votes
2 answers

Can we get the HTTP Response Code in Selenium with Java?

It is indeed possible to get http ...READ MORE

answered Apr 21, 2018 in Selenium by king_kenny
• 3,710 points
40,467 views
0 votes
1 answer

How can I scroll a web page in Mozilla Firefox using Selenium?

Hi Rohan, steps to scroll a webpage in ...READ MORE

answered May 14, 2019 in Selenium by Pratibha
• 3,690 points
2,888 views
0 votes
1 answer

Please tell me the steps to implement selenium in CI/CD pipeline using gitlab ci in GCP cloud. without using jenkins

Check this out https://docs.gitlab.com/ee/ci/examples/end_to_e ...READ MORE

answered May 14, 2020 in Selenium by Sirajul
• 59,230 points
2,764 views
+2 votes
1 answer

C Sharp with Selenium -- How to Switch one tab to another tab in Csharp selenium

You could use Session.Driver.WindowHandles which is basically to switch ...READ MORE

answered Dec 23, 2019 in Selenium by Sirajul
• 59,230 points
7,623 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP