← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #353956]: Permission issue with Selenium in Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
IMHO: in this snippet there is some naming inconsistency:

load("C:\\Users\\Progman\\Desktop\\Selenium\\selenium-server-standalone-2.53.1.jar")
import org.openqa.selenium.firefox.FirefoxDriver as FD
import org.openqa.selenium.By as By
import org.openqa.selenium.firefox.FirefoxProfile as FirefoxProfile # this is the profile class name: FirefoxProfile
import org.openqa.selenium.firefox.internal
import org.openqa.selenium.interactions
import org.openqa.selenium.interactions.ClickAction

# so this is wrong IMHO
#profile = FD.FirefoxProfile('C:\\Users\\Progman\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\nWv4HBss.default')
# and must be
profile = FirefoxProfile('C:\\Users\\Progman\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\nWv4HBss.default')

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.