nw.js chromedriver won't run from outside of the project folderHow to open chrome developer console using Selenium in Python?Selenium file upload url “path is not absolute”ChromeDriver for NW.js ApplicationError while trying to open chrome python-seleniumExecutable needs to be in PATH - Running Selenium on GNURoot on AndroidHow to open web browser using selenium module in python 2.7?Error with using chrome headless browser for python selenium based test cases on CentOSChrome closing after some time and produce error selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service in python“Python selenuim” --user-data-dir option ERROR: could not remove old devtools port fileDocker Selenium: selenium.common.exceptions.WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127

Retract an already submitted recommendation letter (written for an undergrad student)

Is there really no use for MD5 anymore?

What does MLD stand for?

"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"

How do I produce this Greek letter koppa: Ϟ in pdfLaTeX?

Can a stored procedure reference the database in which it is stored?

Why must Chinese maps be obfuscated?

Contradiction proof for inequality of P and NP?

Unknown code in script

Creating a chemical industry from a medieval tech level without petroleum

Will I lose my paid in full property

Is Electric Central Heating worth it if using Solar Panels?

Co-worker works way more than he should

Cayley's Matrix Notation

What does "function" actually mean in music?

Multiple options vs single option UI

What does a straight horizontal line above a few notes, after a changed tempo mean?

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

Crossed out red box fitting tightly around image

Find the identical rows in a matrix

What is this word supposed to be?

Is there any pythonic way to find average of specific tuple elements in array?

How to keep bees out of canned beverages?

Older movie/show about humans on derelict alien warship which refuels by passing through a star



nw.js chromedriver won't run from outside of the project folder


How to open chrome developer console using Selenium in Python?Selenium file upload url “path is not absolute”ChromeDriver for NW.js ApplicationError while trying to open chrome python-seleniumExecutable needs to be in PATH - Running Selenium on GNURoot on AndroidHow to open web browser using selenium module in python 2.7?Error with using chrome headless browser for python selenium based test cases on CentOSChrome closing after some time and produce error selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service in python“Python selenuim” --user-data-dir option ERROR: could not remove old devtools port fileDocker Selenium: selenium.common.exceptions.WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I am trying to set up automated tests on an nw.js based app using selenium-python with chromedriver and for practical reasons (frequent reinstallation...) I want to keep chromedriver separated from the rest of the files in another folder. My tests work only when the chromedriver is located at the same folder as the rest of the project (along with nw.exe). If I try to place it anywhere else and alter paths with 'binary_location', 'chrome_driver_binary' and 'add_argument' accordingly, I always end up with exceptions such as




selenium.common.exceptions.WebDriverException: Message: unknown error:
cannot find Chrome binary




or




selenium.common.exceptions.WebDriverException: Message: unknown error:
Failed to create a Chrome process




Nw.js documentation wasn't helpful as it only says the following:



from selenium import webdriver
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_argument("nwapp=/path/to/your/app")

driver = webdriver.Chrome(executable_path='/path/to/nwjs/chromedriver', chrome_options=chrome_options)


Thanks in advance for any ideas.










share|improve this question




























    1















    I am trying to set up automated tests on an nw.js based app using selenium-python with chromedriver and for practical reasons (frequent reinstallation...) I want to keep chromedriver separated from the rest of the files in another folder. My tests work only when the chromedriver is located at the same folder as the rest of the project (along with nw.exe). If I try to place it anywhere else and alter paths with 'binary_location', 'chrome_driver_binary' and 'add_argument' accordingly, I always end up with exceptions such as




    selenium.common.exceptions.WebDriverException: Message: unknown error:
    cannot find Chrome binary




    or




    selenium.common.exceptions.WebDriverException: Message: unknown error:
    Failed to create a Chrome process




    Nw.js documentation wasn't helpful as it only says the following:



    from selenium import webdriver
    from selenium.webdriver.chrome.options import Options
    chrome_options = Options()
    chrome_options.add_argument("nwapp=/path/to/your/app")

    driver = webdriver.Chrome(executable_path='/path/to/nwjs/chromedriver', chrome_options=chrome_options)


    Thanks in advance for any ideas.










    share|improve this question
























      1












      1








      1








      I am trying to set up automated tests on an nw.js based app using selenium-python with chromedriver and for practical reasons (frequent reinstallation...) I want to keep chromedriver separated from the rest of the files in another folder. My tests work only when the chromedriver is located at the same folder as the rest of the project (along with nw.exe). If I try to place it anywhere else and alter paths with 'binary_location', 'chrome_driver_binary' and 'add_argument' accordingly, I always end up with exceptions such as




      selenium.common.exceptions.WebDriverException: Message: unknown error:
      cannot find Chrome binary




      or




      selenium.common.exceptions.WebDriverException: Message: unknown error:
      Failed to create a Chrome process




      Nw.js documentation wasn't helpful as it only says the following:



      from selenium import webdriver
      from selenium.webdriver.chrome.options import Options
      chrome_options = Options()
      chrome_options.add_argument("nwapp=/path/to/your/app")

      driver = webdriver.Chrome(executable_path='/path/to/nwjs/chromedriver', chrome_options=chrome_options)


      Thanks in advance for any ideas.










      share|improve this question














      I am trying to set up automated tests on an nw.js based app using selenium-python with chromedriver and for practical reasons (frequent reinstallation...) I want to keep chromedriver separated from the rest of the files in another folder. My tests work only when the chromedriver is located at the same folder as the rest of the project (along with nw.exe). If I try to place it anywhere else and alter paths with 'binary_location', 'chrome_driver_binary' and 'add_argument' accordingly, I always end up with exceptions such as




      selenium.common.exceptions.WebDriverException: Message: unknown error:
      cannot find Chrome binary




      or




      selenium.common.exceptions.WebDriverException: Message: unknown error:
      Failed to create a Chrome process




      Nw.js documentation wasn't helpful as it only says the following:



      from selenium import webdriver
      from selenium.webdriver.chrome.options import Options
      chrome_options = Options()
      chrome_options.add_argument("nwapp=/path/to/your/app")

      driver = webdriver.Chrome(executable_path='/path/to/nwjs/chromedriver', chrome_options=chrome_options)


      Thanks in advance for any ideas.







      selenium selenium-chromedriver nw.js






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 16:32









      Tomáš HartmanTomáš Hartman

      61




      61






















          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/3.0/"u003ecc by-sa 3.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%2f55304035%2fnw-js-chromedriver-wont-run-from-outside-of-the-project-folder%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















          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%2f55304035%2fnw-js-chromedriver-wont-run-from-outside-of-the-project-folder%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

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현