← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255553]: How to Open Browser using Sikili script

 

Question #255553 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255553

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

When using Java, you can use the same App class with "open" method. You can see a detailed description here:
http://doc.sikuli.org/javadoc/org/sikuli/script/App.html

However I'm not sure it will work for you to start the browser with
Sikuli and then driving it with Selenium. When using Selenium, you have
to assign the browser to a driver handle, for example:

WebDriver driver = new FirefoxDriver();
driver.get("http://www.google.com";);

So if you launch the browser with Sikuli, you won't be able to use
Selenium methods because there will be no driver object.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.