Jump to content
Sign in to follow this  

_ffcmd_err . _ffcmd ( Javascript erros )

Recommended Posts

#Include <FF.au3>


If _FFIsConnected() Then
    ; href of the current page
    $sHref = _FFCmd("window.document.querySelectorAll('.list2')[0].textContent")
    If Not @error Then MsgBox(64,"Current href:",$sHref)

    MsgBox(64,"Error:","Can't conncect to FireFox")

I use the syntax " window.document.querySelectorAll('.list2')[0].textContent  " is correct in firefox. but in autoit the error message.




Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Create New...