How can we connect Selenium to Existing browser in Ruby Programming language

0 votes
I dont want to execute an automation script in another browser. I want to execute the script in existing browser. So, how can we do tha.
Aug 11, 2020 in Software Testing by Pranish
• 170 points
282 views

1 answer to this question.

0 votes
answered Aug 11, 2020 by Karan
• 19,590 points
I dont mean this.

What i mean is how do i connect selenium to an existing browser not a automation browser that selenium opes after executing the script

Hey @Pranish, try the working code given here.

https://web.archive.org/web/20171214043703/http://tarunlalwani.com/post/reusing-existing-browser-session-selenium-java/

This should help you connect to an existing browser.

Related Questions In Software Testing

+1 vote
1 answer

How to find Predicate String and IOS Class chain through Xpath in Appium IOS Platform. ?

https://github.com/facebookarchive/WebDriverAgent/wiki/Class-Chain- ...READ MORE

answered Dec 2, 2019 in Software Testing by anonymous
1,766 views
+3 votes
0 answers

How to scroll up and down in Protractor?

I have a scroll bar inside Window. ...READ MORE

Feb 3, 2020 in Software Testing by Ingridd
• 150 points
1,698 views
+1 vote
2 answers

How to read data in Robot framework from excel file.

You can try run "py –m pip ...READ MORE

answered May 19, 2020 in Software Testing by anonymous
3,365 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,520 points
4,963 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,010 points
5,740 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
3,508 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2, 2020 in Selenium by Sri
• 3,010 points
4,238 views
0 votes
1 answer

How can i bypass login in Selenium webdriver?

Hey @Pranish, here's a method that uses ...READ MORE

answered Aug 11, 2020 in Software Testing by Karan
• 19,590 points
1,326 views
0 votes
1 answer

Selenium webdriver in java how to automate email verification ?

Hey @Manali, check this out https://blog.mailtrap.io/selenium-email-ve ...READ MORE

answered Oct 19, 2020 in Software Testing by Karan
• 19,590 points
393 views