B4J Library Selenium Browser Automation - Create any Robot with Browser

Discussion in 'B4J Libraries & Classes' started by Alberto Iglesias, Mar 31, 2019.

  1. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Hello Fabio,

    Is already update with this new feature, get the latest version on first post (v1.0.3).

    Just add arguments BEFORE initialize, like this:
    Code:
    objSelenium.addArgument("--headless")
    objSelenium.Initialize(
    "chromedriver.exe","objSelenium")
    you can add more than one, like this:

    Code:
    objSelenium.addArgument("--headless")
    objSelenium.addArgument(
    "--arg2")
    objSelenium.addArgument(
    "--arg3")
    objSelenium.addArgument(
    "--arg4")
    objSelenium.Initialize(
    "chromedriver.exe","objSelenium")
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice