SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

how to change default port number for SeleniumBasic?

Open iisboy opened this issue 4 years ago • 2 comments

is there in vbscipt ,config file or method ?

iisboy avatar Dec 25 '20 17:12 iisboy

Hello. I use: oWD.addArgument('--proxy-server=http=127.0.0.1:pppp;https=127.0.0.1:pppp') where pppp is the desired port.

El viernes, 25 de diciembre de 2020 14:20:35 ART, iisboy [email protected] escribió:

is there in vbscipt ,config file or method ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Juampa2 avatar Dec 26 '20 14:12 Juampa2

Example:

`' This module contains examples on how to work with ' a browser installed on another station. ' ' Selenium Standalone Server: ' http://www.seleniumhq.org/download/ ' ' Command line to start the server: ' java -jar selenium-server-standalone-2.47.1.jar '

Const SERVER = "http://127.0.0.1:4444/wd/hub"

Private Sub Take_ScreenShot_Remotely() Dim driver As New WebDriver driver.StartRemotely SERVER, "safari" 'open the page with the URL in Sheet3 in cell A2 driver.Get [Sheet3!A4]

'Take the screenshoot driver.TakeScreenshot().ToExcel [Sheet3!A7]

driver.Quit End Sub `

mogulman52 avatar Jan 02 '21 23:01 mogulman52