Search found 7 matches

by flatwater
08 May 2019, 19:09
Forum: Tutorials
Topic: Using Selenium with AutoHotkey- Cross browser automation!
Replies: 95
Views: 31555

Re: Using Selenium with AutoHotkey- Cross browser automation!

How do I click elements inside an iframe? use: driver.SwitchToFrame("iframeNameHere") And then click the element like normal. The trick is to always start at the base document and switch to the next frame and then the next (if needed) you can not jump over iframes/frames. Imagine a tree that you ha...
by flatwater
08 May 2019, 03:57
Forum: Tutorials
Topic: Using Selenium with AutoHotkey- Cross browser automation!
Replies: 95
Views: 31555

Re: Using Selenium with AutoHotkey- Cross browser automation!

How do I click elements inside an iframe?
by flatwater
11 Jun 2018, 07:34
Forum: Ask For Help
Topic: Multiple Ocurrences on RegExMatch?
Replies: 14
Views: 1083

Re: Multiple Ocurrences on RegExMatch?

try text= ( John:Wick K: Constructor K CE: Professional Builder Cancelled Date: 2017-07-05 Days since login: 2 ---------------- Martha:Carreiro K: Expensive K CE: Expensive Career Cancelled Date: 2018-03-01 Days since login: 12 ) while pos := RegExMatch(text,"i)(\V+)\v+K: (\V+)\v+K CE: (\V+)\v+Cance...
by flatwater
09 Jun 2018, 22:49
Forum: Tutorials
Topic: Using Selenium with AutoHotkey- Cross browser automation!
Replies: 95
Views: 31555

Re: Using Selenium with AutoHotkey- Cross browser automation!

How do I hide the chrome window? http://chromedriver.chromium.org/capabilities Tried with driver.SetCapability("args", "['headless']") but didn't work. Anyway, below are two ways that worked: Method 1: Using --headless Run, chrome.exe --remote-debugging-port=9222 --headless --disable-gpu --disable-...
by flatwater
08 Jun 2018, 10:47
Forum: Tutorials
Topic: Using Selenium with AutoHotkey- Cross browser automation!
Replies: 95
Views: 31555

Re: Using Selenium with AutoHotkey- Cross browser automation!

Thank you for the tutorials.

How do I hide the chrome window? Thanks.
by flatwater
29 Dec 2017, 00:38
Forum: Ask For Help
Topic: I want to optimize my script.
Replies: 9
Views: 1109

Re: I want to optimize my script.

point := 1.5 loop 7 { random,ran,-1.5,2.5 random,ran2,1~100 var .= ran "ID" ran2 "`n" } while p := RegexMatch(var,"i)(\S+?)ID",m,a_index=1?1:p+strlen(m)) dec_val .= m1 "`n" loop, parse, dec_val, `n if a_loopfield is not space { if(!smallest_diff or (Abs(point - a_loopfield) < smallest_diff)) { smal...
by flatwater
28 Dec 2017, 20:55
Forum: Ask For Help
Topic: Sleep time problem Topic is solved
Replies: 3
Views: 358

Re: Sleep time problem Topic is solved

Code: Select all

Numpad1::
ControlSend,, s, % "ahk_id " prox[1]
ControlSend,, s, % "ahk_id " prox[2]
sleep, 1500
ControlSend,, f, % "ahk_id " prox[1]
ControlSend,, f, % "ahk_id " prox[2]
return

Go to advanced search