Example Selenium avatar
Example Selenium
Try for free

No credit card required

View all Actors
Example Selenium

Example Selenium

apify/example-selenium
Try for free

No credit card required

Example of loading a web page in headless Chrome using Selenium Webdriver.

User avatar

trying to acess bet365

Closed

bsaboia opened this issue
9 months ago

023-08-28T04:02:01.850Z INFO: System info {"apifyVersion":"0.16.0","apifyClientVersion":"0.5.25","osType":"Linux","nodeVersion":"v10.16.3"} 2023-08-28T04:02:01.852Z WARNING: You are using an outdated version (0.16.0) of Apify SDK. We recommend you to update to the latest version (2.2.2). 2023-08-28T04:02:01.853Z Read more about Apify SDK versioning at: https://help.apify.com/en/articles/3184510-updates-and-versioning-of-apify-sdk 2023-08-28T04:02:02.432Z Input: 2023-08-28T04:02:02.434Z { proxy: { useApifyProxy: false }, 2023-08-28T04:02:02.435Z url: 'www.bet365.com', 2023-08-28T04:02:02.436Z userAgent: 2023-08-28T04:02:02.437Z 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36' } 2023-08-28T04:02:02.438Z Launching Selenium WebDriver... 2023-08-28T04:02:02.596Z Opening www.bet365.com... 2023-08-28T04:02:02.600Z ERROR: The function passed to Apify.main() threw an exception: 2023-08-28T04:02:02.601Z InvalidArgumentError: invalid argument 2023-08-28T04:02:02.602Z (Session info: headless chrome=77.0.3865.90) 2023-08-28T04:02:02.603Z at Object.throwDecodedError (/home/myuser/node_modules/selenium-webdriver/lib/error.js:550:15) 2023-08-28T04:02:02.604Z at parseHttpResponse (/home/myuser/node_modules/selenium-webdriver/lib/http.js:563:13) 2023-08-28T04:02:02.605Z at Executor.execute (/home/myuser/node_modules/selenium-webdriver/lib/http.js:489:26) 2023-08-28T04:02:02.606Z at process._tickCallback (internal/process/next_tick.js:68:7) 2023-08-28T04:02:02.610Z npm ERR! code ELIFECYCLE 2023-08-28T04:02:02.611Z npm ERR! errno 91 2023-08-28T04:02:02.612Z npm ERR! selenium-chrome-example@0.0.1 start: node main.js 2023-08-28T04:02:02.613Z npm ERR! Exit status 91 2023-08-28T04:02:02.614Z npm ERR! 2023-08-28T04:02:02.615Z npm ERR! Failed at the selenium-chrome-example@0.0.1 start script. 2023-08-28T04:02:02.616Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2023-08-28T04:02:02.617Z 2023-08-28T04:02:02.619Z npm ERR! A complete log of this run can be found in: 2023-08-28T04:02:02.619Z npm ERR! /home/myuser/.npm/_logs/2023-08-28T04_02_02_612Z-debug.log

User avatar

Hello,

This actor is very old and will need to be updated. We recommend using Web Scraper or Puppeteer/Playwright Scraper which offer more modern tooling.

Developer
Maintained by Apify
Actor metrics
  • 13 monthly users
  • 100.0% runs succeeded
  • 21 days response time
  • Created in Nov 2017
  • Modified 7 months ago