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

+1 vote
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
• 190 points
436 views

1 answer to this question.

0 votes
answered Aug 11, 2020 by Karan
• 19,620 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

+2 votes
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
2,297 views
+4 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
• 160 points
2,524 views
+2 votes
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
4,783 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,500 points
6,198 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,190 points
6,562 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
4,185 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 3, 2020 in Selenium by Sri
• 3,190 points
5,194 views
+1 vote
1 answer

How can i bypass login in Selenium webdriver?

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

answered Aug 12, 2020 in Software Testing by Karan
• 19,620 points
2,251 views
+1 vote
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,620 points
1,042 views