Search found 11 matches
- 04 Aug 2018, 11:53
- Forum: Ask for Help (v1)
- Topic: Help with Selenium + AHK
- Replies: 1
- Views: 713
Help with Selenium + AHK
Hello, 1-How I can prevent AHK / Selenium to bug / crash during the below that fail to find: driver.FindElementByXPath("//*[@id=""sku-1-175""]").click() 2-How I cann add an if statement like if the value exist in the text box or drop down box. IE: Let say I did the following: driver.FindElementByXPa...
- 03 Aug 2018, 11:20
- Forum: Tutorials (v1)
- Topic: Using Selenium with AutoHotkey- Cross browser automation!
- Replies: 172
- Views: 169867
Re: Using Selenium with AutoHotkey- Cross browser automation!
both not working. No error from script but it not find the word.
- 02 Aug 2018, 21:11
- Forum: Tutorials (v1)
- Topic: Using Selenium with AutoHotkey- Cross browser automation!
- Replies: 172
- Views: 169867
Re: Using Selenium with AutoHotkey- Cross browser automation!
Thanks again:) Let says the script write something in a text box, how I can add an if statement to verify if that textbox got the input the script entered? driver.FindElementByXPath("//div[@data-widget-cid=""widget-16""]/select").SendKeys("Test123") if (driver.FindElementByXPath("//div[@data-widget-...
- 01 Aug 2018, 23:01
- Forum: Tutorials (v1)
- Topic: Using Selenium with AutoHotkey- Cross browser automation!
- Replies: 172
- Views: 169867
Re: Using Selenium with AutoHotkey- Cross browser automation!
Nice, work perfectly! If I want to tick a tick box should I use the below? driver.FindElementByXPath("/html/body/div[26]/div/div[1]/div[2]/div[2]/table/tbody/tr[4]/td[2]").click() I have other xpath like //*[@id=""THISISATESTVALUE""] that work for selecting with a .click() but the above xpath is the...
- 01 Aug 2018, 20:04
- Forum: Tutorials (v1)
- Topic: Using Selenium with AutoHotkey- Cross browser automation!
- Replies: 172
- Views: 169867
Re: Using Selenium with AutoHotkey- Cross browser automation!
Ok found out that I needed to login 1 time with selenium then it will save on my user profile.
However, it look like if I'm signed by google gmail I lost my connection with the website when new selenium chrome open and have to hit the sign in by google to make me logged in again.
However, it look like if I'm signed by google gmail I lost my connection with the website when new selenium chrome open and have to hit the sign in by google to make me logged in again.
- 01 Aug 2018, 19:38
- Forum: Tutorials (v1)
- Topic: Using Selenium with AutoHotkey- Cross browser automation!
- Replies: 172
- Views: 169867
Re: Using Selenium with AutoHotkey- Cross browser automation!
Hi Thanks it works now. Chrome driver was not in the good folder... used the startup folder instead of the real folder of selenium... I have 2 more questions How I could keep my cookies and login access to website in Selenium Chrome? How I can add an extension and keep it to Selenium Chrome? Thanks ...
- 01 Aug 2018, 17:47
- Forum: Tutorials (v1)
- Topic: Using Selenium with AutoHotkey- Cross browser automation!
- Replies: 172
- Views: 169867
Re: Using Selenium with AutoHotkey- Cross browser automation!
Still not working and getting this error: --------------------------- test.ahk --------------------------- Error: 0xA00A0021 - Source: Selenium Description: SessionNotCreatedError session not created exception from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"fr...
- 01 Aug 2018, 14:30
- Forum: Tutorials (v1)
- Topic: Using Selenium with AutoHotkey- Cross browser automation!
- Replies: 172
- Views: 169867
Re: Using Selenium with AutoHotkey- Cross browser automation!
I am new to this but I get the following error... what's wrong? Windows 7, lastest chrome driver and chrome. --------------------------- test.ahk --------------------------- Error: 0xA00A0021 - Source: Selenium Description: SessionNotCreatedError session not created exception from unknown error: Run...
- 31 Jul 2018, 23:04
- Forum: Ask for Help (v1)
- Topic: Chrome focus address bar bug.
- Replies: 1
- Views: 795
Chrome focus address bar bug.
Hello, Anyone can tell me why sometime AHK does not focus on Chrome address bar? If I add a loop with the below code, most of the time it work but sometime it does not focus... Pathx = %A_Scriptdir%\URL.xlsx Xl := ComObjCreate("Excel.Application") ;create a handle to a new excel application Xl_Workb...
- 25 Jul 2018, 20:58
- Forum: Ask for Help (v1)
- Topic: Excel Com & loop search
- Replies: 5
- Views: 1834
Re: Excel Com & loop search
for Cell in Wb1.ActiveSheet.Range("A1", LastCell) ; Loop Through All Used Cells in Column "A" of First Workbook Wb2.ActiveSheet.Columns("A").Find(Cell.Value).OffSet(0,2).Value := Cell.OffSet(0,1).Value how I can add the following to this code? If cell.value not found, add the cell.value in A column...
- 25 Jul 2018, 20:15
- Forum: Ask for Help (v1)
- Topic: Excel Com & loop search
- Replies: 5
- Views: 1834
Re: Excel Com & loop search
Oh ok I got it
Thanks!
Thanks!