← Back to team overview

sikuli-driver team mailing list archive

[Bug 1859910] Re: Selenium is not working in Sikuli IDE

 

confirmed: 2.0.1 makes problems here

tested in current dev versions (2.0.2 and 2.1.0) - works (both Java8 and
Java13):

Starting ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}) on port 43670
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[1579445598.628][WARNING]: Timed out connecting to Chrome, retrying...
Jan 19, 2020 3:53:20 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFORMATION: Detected dialect: W3C

using this script and the actual chromedriver:
load("selenium-server-standalone-3.141.59.jar")
import java.lang.System as JS
JS.setProperty("webdriver.chrome.driver", r"\Users\rmhde\AppData\Local\Google\Chrome\chromedriver.exe")
from org.openqa.selenium.chrome import ChromeDriver 
browser= ChromeDriver()

... so you should try with the latest 2.1.0 nightly until the 2.0.2 is
released later tomorrow.

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 2.0.2

** Summary changed:

- Selenium is not working in Sikuli IDE
+ [2.0.1] Selenium is not working in Sikuli IDE

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1859910

Title:
  [2.0.1] Selenium is not working in Sikuli IDE

Status in Sikuli:
  In Progress

Bug description:
  To run selenium in sikulix-2.0.1 i am running below code i am getting error message but if i am running selenium  in sikulix1.1.3 it is working.
  could please fix in sikulix-2.0.1

  import os
  import sys
  load("selenium-server-standalone-3.141.59.jar")
  from org.openqa.selenium.chrome import ChromeDriver
  browser= ChromeDriver(op)
  browser.get('http://www.google.com')

  
  [error] script [ sikulitemp-8237316473222044562 ] stopped with error in line 5
  [error] java.lang.NoSuchMethodError ( java.lang.NoSuchMethodError: com/google/common/util/concurrent/SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter; (loaded from file:/C:/Users/kry3/Desktop/Sikulix_1_4/Sikulix2/sikulix-2.0.1.jar by jdk.internal.loader.ClassLoaders$AppClassLoader@729a76d5) called from class org.openqa.selenium.net.UrlChecker (loaded from <Unknown> by org.python.core.SyspathJavaLoader@c1d65f02). )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  5: main (  <module> )     browser= ChromeDriver(op)
  [error] --- Traceback --- end --------------
  Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) on port 10015
  Only local connections are allowed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1859910/+subscriptions


References