Jump to content

Recommended Posts

Posted (edited)

Hey everyone,

I'm trying to get WebDriver up and running, but I’m having trouble getting my custom script to start. Here’s the script I’m using:

  Reveal hidden contents

 

The strange thing is that when I run the demo script, it works just fine. But with this script, nothing happens at all—no browser window opens, and there are no errors.

image.png.ab8179d59d0e91ec227a5ea8a4c49ee8.png

 

Any advice on what might be going wrong or how I can troubleshoot this?

Thanks in advance for any help!

 

PS:

This is the demo:

  Reveal hidden contents

 

Edited by Jotos
Posted (edited)

Hi @Jotos 👋 ,

change this

_WD_Option('DriverParams', '--verbose --log-path="' & @ScriptDir & '\chrome.log"')

to this

_WD_Option('DriverParams', '--port 9515 --verbose --log-path="' & @ScriptDir & '\chrome.log"')

and try again.

Explanation:

Best regards
Sven

Edited by SOLVE-SMART

==> AutoIt related: 🔗 GitHub, 🔗 Discord Server, 🔗 AutoIt Cheat Sheet

  Reveal hidden contents

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...