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,010 points
139 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,050 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 22, 2019 in Selenium by Abha
• 28,040 points
401 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 30, 2020 in Selenium by Sri
• 3,010 points
21,406 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 20, 2018 in Selenium by king_kenny
• 3,710 points
31,609 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 13, 2019 in Selenium by Pratibha
• 3,690 points
1,273 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,050 points
1,291 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,050 points
2,718 views