Example Selenium
No credit card required
Example Selenium
No credit card required
Example of loading a web page in headless Chrome using Selenium Webdriver.
Do you want to learn more about this Actor?
Get a demo023-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 ... [trimmed]
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.
Actor Metrics
10 monthly users
-
2 stars
>99% runs succeeded
Created in Nov 2017
Modified 5 months ago