Jump to content

lhlpds

Members
  • Posts

    3
  • Joined

  • Last visited

lhlpds's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Func SetupGecko() _WD_Option('Driver', 'geckodriver.exe') _WD_Option('DriverParams', '--binary "C:\Program Files\Mozilla Firefox\firefox.exe" --log trace') _WD_Option('Port', 4444) $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"browserName": "firefox", "acceptInsecureCerts":true}}}' EndFunc ;==>SetupGecko How do Firefox logs redirect output to a file? I can't find an example like Chrome in the wd_demo.au3 _WD_Option('DriverParams', '--verbose --log-path="' & @ScriptDir & '\chrome.log"')
  2. @mLipok Thank you very much!
  3. $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//a[contains(text(),'2018')]") I want to use variables instead of strings in XPath. How do I do that?I didn't get it right "//a[contains(text(),$year)]"
×
×
  • Create New...