简体   繁体   中英

terminated java application javaw.exe eclipse

I created a simple script of opening a webpage using selenium tool. and my program is terminated without even opening the browser. I have attached all the relevant jar files and set the JAVA path too.

在此处输入图片说明

Here's what you need to do:

  1. Change "Firefoxdriver driver" to "Webdriver driver" in line no 9
  2. You can remove geckodriver.exe from the external jars.
  3. Copy the geckodriver.exe to a folder in C: drive.
  4. Ensure you are providing the correct path of gecko driver.
  5. The driver name should be "gecko driver.exe"

Let me know if this works for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM