session not created , unhandled inspector errorFirefoxDriver - selenium and XULSelenium webdriver - unable to locate an element on youtubeI can't launch a session using ProtractorUnable to create new Chrome remote sessionSelenium invoke multiple sessions chrome driverCodeception - Can't save and load session snapshot in FirefoxRselenium issue: browser opens and closes with an errorUnable to open Chrome browser using selenium 3.10.0Unable to create new service: ChromeDriverService error in selenium standalone server

Is my sink P-trap too low?

How does doing something together work?

Does Forgotten Realms setting count as “High magic”?

How to make classical firearms effective on space habitats despite the coriolis effect?

Why is the UK still pressing on with Brexit?

How to convert Mn2O3 to Mn3O4?

Latex matrix formatting

What does “We have long ago paid the goblins of Moria,” from The Hobbit mean?

What would happen if Protagoras v Euathlus were heard in court today?

Why 1.5fill is 0pt

How to install Rasbian Stretch on Raspberry Pi 4?

How can I draw overlapping triangles?

How do we know that black holes are spinning?

Delete empty subfolders, keep parent folder

Does household ovens ventilate heat to the outdoors?

Why is the year in this ISO timestamp not 2019?

Have you ever been issued a passport or national identity card for travel by any other country?

Why does '/' contain '..'?

How many people need to succeed in a group check with three people?

What does the Free Recovery sign (UK) actually mean?

What is this WWII four-engine plane on skis?

Impossible Scrabble Words

How to give my students a straightedge instead of a ruler

Python web-scraper to download table of transistor counts from Wikipedia



session not created , unhandled inspector error


FirefoxDriver - selenium and XULSelenium webdriver - unable to locate an element on youtubeI can't launch a session using ProtractorUnable to create new Chrome remote sessionSelenium invoke multiple sessions chrome driverCodeception - Can't save and load session snapshot in FirefoxRselenium issue: browser opens and closes with an errorUnable to open Chrome browser using selenium 3.10.0Unable to create new service: ChromeDriverService error in selenium standalone server






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to connect to my set top box via chromedriver.exe (chromedriver=72.0.3626.69) from my laptop but I am unable to do so. My set top box has chromium and webdriver enabled. We used to run test scripts via selenium python/selenium java remote web driver libraries on the set-top box (headless chrome) - the channel surfing, the opening of tv guide, etc can be easily seen on the TV. The precondition is set-top should be webdriver enabled with the ethernet cable connected so that it gets the IP address.



Currently, we want to replicate the same structure via codeceptjs / webdriver libraries but I am not able to do so.



Following is the configuration which I have tried :



1) codecept.conf.js file



exports.config = 
tests: './*_test.js',
output: './output',
helpers:

WebDriver:
url: 'http://locahost',
port: 9515,
smartWait: 30000,
waitForTimeout: 15000,
keepBrowserState: true,
restart: false,
browser: 'chrome',
desiredCapabilities:
chromeOptions:
args : ["--disable-gpu","--allow-file-access-from-files", "--disable-web-security", "--ignore-certificate-errors" ],
debuggerAddress: "10.12.130.83:2999", /* this is the ip address of set top box */


,


,
MyHelper:
require: "./codecept_anupam.js"





2) codecept_anupam.js



const Helper = codecept_helper;
const event = require('codeceptjs').event;

class MyHelper extends Helper
constructor ()
super();


_beforeSuite (suite)
console.log('_beforeSuite');
this.suiteTitle = suite.title;
console.log(this.helpers);
console.log(this.helpers['WebDriver']);
if (!this.target)

//this.target = this.helpers['Puppeteer'];
this.target = this.helpers['WebDriver'];
this.page = this.target.browser;
//this.page.send('Security.setIgnoreCertificateErrors', ignore:
true );

//return


this.target.amOnPage('file:///C:/development/Codefest/app/client/launch-emulator.html');
//return this.target.amOnPage('http://10.12.130.83:2999/Main.html?
page=1');



module.exports = MyHelper;
;


I have made sure Selenium server is up and running with chromedriver . I have used the following command.



java -Dwebdriver.chrome.driver=chromedriver.exe -jar selenium-server-standalone-3.141.59.jar -port 9515


The following is the error message:-



[Session] Starting singleton browser session
[1] Error | Error: Can't connect to WebDriver.
session not created: session not created
from unknown error: unhandled inspector error: "code":-32601,"data":
["code":-32601,"message":"'Target' domain was not
found"],"message":"'Target' domain was not found"
(Session info: =)
(Driver info: chromedriver=72.0.3626.69
(3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 115 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-
14T08:25:53'


System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
Driver info: driver.version: unknown

Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
Emitted | test.failed ([object Object])
× "before all" hook: codeceptjs.beforeSuite in 2079ms
[1] Error | Error: Can't connect to WebDriver.
session not created: session not created
from unknown error: unhandled inspector error: "code":-32601,"data":["code":-32601,"message":"'Target' domain was not found"],"message":"'Target' domain was not found"
(Session info: =)
(Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 115 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
Driver info: driver.version: unknown

Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
Error: Can't connect to WebDriver.
session not created: session not created
from unknown error: unhandled inspector error: "code":-32601,"data":["code":-32601,"message":"'Target' domain was not found"],"message":"'Target' domain was not found"
(Session info: =)
(Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 115 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
Driver info: driver.version: unknown

Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible


We used the following code in python to connect to set-top box by chromedriver and it worked fine for us:



def start(self): 
if self.running is False:
#kill any old process
str_command = "taskkill /f /t /im chromedriver.exe"
tmp_process = subprocess.Popen(str_command.strip(), shell=True)
tmp_process.wait()

str_command = "_driver\chromedriver.exe --port=9515 --whitelisted-ips" # --verbose
self.process = subprocess.Popen(str_command.strip(), shell=True)

time.sleep(6)
options = ChromeOptions()
options.add_experimental_option("debuggerAddress", self.stb_ip)
self.driver = webdriver.Remote(command_executor='http://localhost:9515', desired_capabilities = options.to_capabilities())

self.running = True
return









share|improve this question
































    0















    I am trying to connect to my set top box via chromedriver.exe (chromedriver=72.0.3626.69) from my laptop but I am unable to do so. My set top box has chromium and webdriver enabled. We used to run test scripts via selenium python/selenium java remote web driver libraries on the set-top box (headless chrome) - the channel surfing, the opening of tv guide, etc can be easily seen on the TV. The precondition is set-top should be webdriver enabled with the ethernet cable connected so that it gets the IP address.



    Currently, we want to replicate the same structure via codeceptjs / webdriver libraries but I am not able to do so.



    Following is the configuration which I have tried :



    1) codecept.conf.js file



    exports.config = 
    tests: './*_test.js',
    output: './output',
    helpers:

    WebDriver:
    url: 'http://locahost',
    port: 9515,
    smartWait: 30000,
    waitForTimeout: 15000,
    keepBrowserState: true,
    restart: false,
    browser: 'chrome',
    desiredCapabilities:
    chromeOptions:
    args : ["--disable-gpu","--allow-file-access-from-files", "--disable-web-security", "--ignore-certificate-errors" ],
    debuggerAddress: "10.12.130.83:2999", /* this is the ip address of set top box */


    ,


    ,
    MyHelper:
    require: "./codecept_anupam.js"





    2) codecept_anupam.js



    const Helper = codecept_helper;
    const event = require('codeceptjs').event;

    class MyHelper extends Helper
    constructor ()
    super();


    _beforeSuite (suite)
    console.log('_beforeSuite');
    this.suiteTitle = suite.title;
    console.log(this.helpers);
    console.log(this.helpers['WebDriver']);
    if (!this.target)

    //this.target = this.helpers['Puppeteer'];
    this.target = this.helpers['WebDriver'];
    this.page = this.target.browser;
    //this.page.send('Security.setIgnoreCertificateErrors', ignore:
    true );

    //return


    this.target.amOnPage('file:///C:/development/Codefest/app/client/launch-emulator.html');
    //return this.target.amOnPage('http://10.12.130.83:2999/Main.html?
    page=1');



    module.exports = MyHelper;
    ;


    I have made sure Selenium server is up and running with chromedriver . I have used the following command.



    java -Dwebdriver.chrome.driver=chromedriver.exe -jar selenium-server-standalone-3.141.59.jar -port 9515


    The following is the error message:-



    [Session] Starting singleton browser session
    [1] Error | Error: Can't connect to WebDriver.
    session not created: session not created
    from unknown error: unhandled inspector error: "code":-32601,"data":
    ["code":-32601,"message":"'Target' domain was not
    found"],"message":"'Target' domain was not found"
    (Session info: =)
    (Driver info: chromedriver=72.0.3626.69
    (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 115 milliseconds
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-
    14T08:25:53'


    System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
    Driver info: driver.version: unknown

    Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
    Emitted | test.failed ([object Object])
    × "before all" hook: codeceptjs.beforeSuite in 2079ms
    [1] Error | Error: Can't connect to WebDriver.
    session not created: session not created
    from unknown error: unhandled inspector error: "code":-32601,"data":["code":-32601,"message":"'Target' domain was not found"],"message":"'Target' domain was not found"
    (Session info: =)
    (Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 115 milliseconds
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
    System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
    Driver info: driver.version: unknown

    Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
    Error: Can't connect to WebDriver.
    session not created: session not created
    from unknown error: unhandled inspector error: "code":-32601,"data":["code":-32601,"message":"'Target' domain was not found"],"message":"'Target' domain was not found"
    (Session info: =)
    (Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 115 milliseconds
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
    System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
    Driver info: driver.version: unknown

    Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible


    We used the following code in python to connect to set-top box by chromedriver and it worked fine for us:



    def start(self): 
    if self.running is False:
    #kill any old process
    str_command = "taskkill /f /t /im chromedriver.exe"
    tmp_process = subprocess.Popen(str_command.strip(), shell=True)
    tmp_process.wait()

    str_command = "_driver\chromedriver.exe --port=9515 --whitelisted-ips" # --verbose
    self.process = subprocess.Popen(str_command.strip(), shell=True)

    time.sleep(6)
    options = ChromeOptions()
    options.add_experimental_option("debuggerAddress", self.stb_ip)
    self.driver = webdriver.Remote(command_executor='http://localhost:9515', desired_capabilities = options.to_capabilities())

    self.running = True
    return









    share|improve this question




























      0












      0








      0








      I am trying to connect to my set top box via chromedriver.exe (chromedriver=72.0.3626.69) from my laptop but I am unable to do so. My set top box has chromium and webdriver enabled. We used to run test scripts via selenium python/selenium java remote web driver libraries on the set-top box (headless chrome) - the channel surfing, the opening of tv guide, etc can be easily seen on the TV. The precondition is set-top should be webdriver enabled with the ethernet cable connected so that it gets the IP address.



      Currently, we want to replicate the same structure via codeceptjs / webdriver libraries but I am not able to do so.



      Following is the configuration which I have tried :



      1) codecept.conf.js file



      exports.config = 
      tests: './*_test.js',
      output: './output',
      helpers:

      WebDriver:
      url: 'http://locahost',
      port: 9515,
      smartWait: 30000,
      waitForTimeout: 15000,
      keepBrowserState: true,
      restart: false,
      browser: 'chrome',
      desiredCapabilities:
      chromeOptions:
      args : ["--disable-gpu","--allow-file-access-from-files", "--disable-web-security", "--ignore-certificate-errors" ],
      debuggerAddress: "10.12.130.83:2999", /* this is the ip address of set top box */


      ,


      ,
      MyHelper:
      require: "./codecept_anupam.js"





      2) codecept_anupam.js



      const Helper = codecept_helper;
      const event = require('codeceptjs').event;

      class MyHelper extends Helper
      constructor ()
      super();


      _beforeSuite (suite)
      console.log('_beforeSuite');
      this.suiteTitle = suite.title;
      console.log(this.helpers);
      console.log(this.helpers['WebDriver']);
      if (!this.target)

      //this.target = this.helpers['Puppeteer'];
      this.target = this.helpers['WebDriver'];
      this.page = this.target.browser;
      //this.page.send('Security.setIgnoreCertificateErrors', ignore:
      true );

      //return


      this.target.amOnPage('file:///C:/development/Codefest/app/client/launch-emulator.html');
      //return this.target.amOnPage('http://10.12.130.83:2999/Main.html?
      page=1');



      module.exports = MyHelper;
      ;


      I have made sure Selenium server is up and running with chromedriver . I have used the following command.



      java -Dwebdriver.chrome.driver=chromedriver.exe -jar selenium-server-standalone-3.141.59.jar -port 9515


      The following is the error message:-



      [Session] Starting singleton browser session
      [1] Error | Error: Can't connect to WebDriver.
      session not created: session not created
      from unknown error: unhandled inspector error: "code":-32601,"data":
      ["code":-32601,"message":"'Target' domain was not
      found"],"message":"'Target' domain was not found"
      (Session info: =)
      (Driver info: chromedriver=72.0.3626.69
      (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 115 milliseconds
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-
      14T08:25:53'


      System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
      Driver info: driver.version: unknown

      Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
      Emitted | test.failed ([object Object])
      × "before all" hook: codeceptjs.beforeSuite in 2079ms
      [1] Error | Error: Can't connect to WebDriver.
      session not created: session not created
      from unknown error: unhandled inspector error: "code":-32601,"data":["code":-32601,"message":"'Target' domain was not found"],"message":"'Target' domain was not found"
      (Session info: =)
      (Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 115 milliseconds
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
      System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
      Driver info: driver.version: unknown

      Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
      Error: Can't connect to WebDriver.
      session not created: session not created
      from unknown error: unhandled inspector error: "code":-32601,"data":["code":-32601,"message":"'Target' domain was not found"],"message":"'Target' domain was not found"
      (Session info: =)
      (Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 115 milliseconds
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
      System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
      Driver info: driver.version: unknown

      Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible


      We used the following code in python to connect to set-top box by chromedriver and it worked fine for us:



      def start(self): 
      if self.running is False:
      #kill any old process
      str_command = "taskkill /f /t /im chromedriver.exe"
      tmp_process = subprocess.Popen(str_command.strip(), shell=True)
      tmp_process.wait()

      str_command = "_driver\chromedriver.exe --port=9515 --whitelisted-ips" # --verbose
      self.process = subprocess.Popen(str_command.strip(), shell=True)

      time.sleep(6)
      options = ChromeOptions()
      options.add_experimental_option("debuggerAddress", self.stb_ip)
      self.driver = webdriver.Remote(command_executor='http://localhost:9515', desired_capabilities = options.to_capabilities())

      self.running = True
      return









      share|improve this question
















      I am trying to connect to my set top box via chromedriver.exe (chromedriver=72.0.3626.69) from my laptop but I am unable to do so. My set top box has chromium and webdriver enabled. We used to run test scripts via selenium python/selenium java remote web driver libraries on the set-top box (headless chrome) - the channel surfing, the opening of tv guide, etc can be easily seen on the TV. The precondition is set-top should be webdriver enabled with the ethernet cable connected so that it gets the IP address.



      Currently, we want to replicate the same structure via codeceptjs / webdriver libraries but I am not able to do so.



      Following is the configuration which I have tried :



      1) codecept.conf.js file



      exports.config = 
      tests: './*_test.js',
      output: './output',
      helpers:

      WebDriver:
      url: 'http://locahost',
      port: 9515,
      smartWait: 30000,
      waitForTimeout: 15000,
      keepBrowserState: true,
      restart: false,
      browser: 'chrome',
      desiredCapabilities:
      chromeOptions:
      args : ["--disable-gpu","--allow-file-access-from-files", "--disable-web-security", "--ignore-certificate-errors" ],
      debuggerAddress: "10.12.130.83:2999", /* this is the ip address of set top box */


      ,


      ,
      MyHelper:
      require: "./codecept_anupam.js"





      2) codecept_anupam.js



      const Helper = codecept_helper;
      const event = require('codeceptjs').event;

      class MyHelper extends Helper
      constructor ()
      super();


      _beforeSuite (suite)
      console.log('_beforeSuite');
      this.suiteTitle = suite.title;
      console.log(this.helpers);
      console.log(this.helpers['WebDriver']);
      if (!this.target)

      //this.target = this.helpers['Puppeteer'];
      this.target = this.helpers['WebDriver'];
      this.page = this.target.browser;
      //this.page.send('Security.setIgnoreCertificateErrors', ignore:
      true );

      //return


      this.target.amOnPage('file:///C:/development/Codefest/app/client/launch-emulator.html');
      //return this.target.amOnPage('http://10.12.130.83:2999/Main.html?
      page=1');



      module.exports = MyHelper;
      ;


      I have made sure Selenium server is up and running with chromedriver . I have used the following command.



      java -Dwebdriver.chrome.driver=chromedriver.exe -jar selenium-server-standalone-3.141.59.jar -port 9515


      The following is the error message:-



      [Session] Starting singleton browser session
      [1] Error | Error: Can't connect to WebDriver.
      session not created: session not created
      from unknown error: unhandled inspector error: "code":-32601,"data":
      ["code":-32601,"message":"'Target' domain was not
      found"],"message":"'Target' domain was not found"
      (Session info: =)
      (Driver info: chromedriver=72.0.3626.69
      (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 115 milliseconds
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-
      14T08:25:53'


      System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
      Driver info: driver.version: unknown

      Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
      Emitted | test.failed ([object Object])
      × "before all" hook: codeceptjs.beforeSuite in 2079ms
      [1] Error | Error: Can't connect to WebDriver.
      session not created: session not created
      from unknown error: unhandled inspector error: "code":-32601,"data":["code":-32601,"message":"'Target' domain was not found"],"message":"'Target' domain was not found"
      (Session info: =)
      (Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 115 milliseconds
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
      System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
      Driver info: driver.version: unknown

      Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
      Error: Can't connect to WebDriver.
      session not created: session not created
      from unknown error: unhandled inspector error: "code":-32601,"data":["code":-32601,"message":"'Target' domain was not found"],"message":"'Target' domain was not found"
      (Session info: =)
      (Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 115 milliseconds
      Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
      System info: host: 'MOB700042', ip: '169.254.47.0', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
      Driver info: driver.version: unknown

      Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible


      We used the following code in python to connect to set-top box by chromedriver and it worked fine for us:



      def start(self): 
      if self.running is False:
      #kill any old process
      str_command = "taskkill /f /t /im chromedriver.exe"
      tmp_process = subprocess.Popen(str_command.strip(), shell=True)
      tmp_process.wait()

      str_command = "_driver\chromedriver.exe --port=9515 --whitelisted-ips" # --verbose
      self.process = subprocess.Popen(str_command.strip(), shell=True)

      time.sleep(6)
      options = ChromeOptions()
      options.add_experimental_option("debuggerAddress", self.stb_ip)
      self.driver = webdriver.Remote(command_executor='http://localhost:9515', desired_capabilities = options.to_capabilities())

      self.running = True
      return






      webdriver selenium-chromedriver codeceptjs






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 18:23









      James Z

      11.4k7 gold badges20 silver badges38 bronze badges




      11.4k7 gold badges20 silver badges38 bronze badges










      asked Mar 28 at 12:49









      Anupam DuttaAnupam Dutta

      63 bronze badges




      63 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398094%2fsession-not-created-unhandled-inspector-error%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398094%2fsession-not-created-unhandled-inspector-error%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript