Search found 15 matches

by Axxi
14 Jun 2020, 08:03
Forum: Tutorials
Topic: Excel Tutorials and XL Function library
Replies: 13
Views: 14472

Re: Excel Tutorials and XL Function library

Hi Joe! Thank you so much for sharing your knowledge with us. I was just wondering if there is a quick fix to make the following function also look for case sensitive? XL_Search_Replace_Multiple The single search and replace (XL_Search_Replace), works great for this, but was wondering if the above f...
by Axxi
13 Jun 2020, 06:51
Forum: Ask For Help
Topic: Selenium - Headless chrome? Topic is solved
Replies: 5
Views: 609

Re: Selenium - Headless chrome? Topic is solved

Working Example: driver := ComObjCreate("Selenium.ChromeDriver") driver.AddArgument("--disable-gpu") driver.AddArgument("--headless") driver.Get("https://www.autohotkey.com/boards/viewtopic.php?f=76&t=76775") MsgBox % driver.FindElementByXPath("//*[@id='post_content332970']/div").Attribute("innerTe...
by Axxi
03 Jun 2020, 06:44
Forum: Ask For Help
Topic: Selenium - Headless chrome? Topic is solved
Replies: 5
Views: 609

Re: Selenium - Headless chrome? Topic is solved

:arrow: autohotkey Broken Link for safety selenium headless chrome Anything? Really?? :think: There seems to be some posts related to chrome.ahk, but I cant find anything related to selenium/autohotkey running headless, if you could please pick one of the links and show me i'd appreciate it, but i ...
by Axxi
02 Jun 2020, 03:04
Forum: Ask For Help
Topic: Selenium - Headless chrome? Topic is solved
Replies: 5
Views: 609

Selenium - Headless chrome? Topic is solved

Hi!

Just wondering if its possible to run selenium headless on chrome? Would appreciate if someone could point me in the right direction, been trying to search the net but cant find anything related to autohotkey.

Thanks in advance!
by Axxi
24 May 2020, 06:37
Forum: Ask For Help
Topic: Selenium - Executescript numeric field.
Replies: 0
Views: 118

Selenium - Executescript numeric field.

Hi! Im trying to use the following code below to input a value into a numeric field (field that only allows numbers to be input), but i cant seem to find what i am missing, or if its even possible. driver.executeScript("arguments[0].setAttribute('value', '123')", driver.FindElementbyXpath("//input[@...
by Axxi
24 May 2020, 06:33
Forum: Ask For Help
Topic: Selenium - Executescript passing variable Topic is solved
Replies: 2
Views: 168

Re: Selenium - Executescript passing variable Topic is solved

Thank you so much, works like a charm. Much appreciated !



Xtra wrote:
23 May 2020, 15:52

Code: Select all

var := "hello world"
element := driver.FindElementsbyXpath("//input[@name='InvoiceItemNumber']")
driver.executeScript("arguments[0].setAttribute('value', '" . var . "');", element)
by Axxi
23 May 2020, 13:59
Forum: Ask For Help
Topic: Selenium - Executescript passing variable Topic is solved
Replies: 2
Views: 168

Selenium - Executescript passing variable Topic is solved

Hi! Im trying to replace "hello world" below with a variable, but I just cant find the way to do so, i always get an error probably because the code is just wrong. driver.executeScript("arguments[0].setAttribute('value', 'hello world')", driver.FindElementsbyXpath("//input[@name='InvoiceItemNumber']...
by Axxi
14 Apr 2020, 10:30
Forum: Ask For Help
Topic: Selenium Chrome - Iselementpresent help Topic is solved
Replies: 3
Views: 244

Re: Selenium Chrome - Iselementpresent help Topic is solved

Thank you, it worked! :) I dont really understand why it worked but i'll look into what that means.

malcev wrote:
14 Apr 2020, 10:19

Code: Select all

By := ComObjCreate("Selenium.By")
by Axxi
14 Apr 2020, 08:54
Forum: Ask For Help
Topic: Selenium Chrome - Iselementpresent help Topic is solved
Replies: 3
Views: 244

Selenium Chrome - Iselementpresent help Topic is solved

Hey! I've had a hard time getting the function IsElementPresent to work, im using selenium with chrome. I just cant for the life of me figure out the correct way to use it, it always returns an error. My objective with this is for the script to wait until the page had loaded/a certain element has be...
by Axxi
09 Apr 2020, 11:55
Forum: Ask For Help
Topic: Autohotkey with Selenium - Switch Chrome Tab? Topic is solved
Replies: 2
Views: 208

Re: Autohotkey with Selenium - Switch Chrome Tab? Topic is solved

Hey Yakshongas! Thank you for your suggestion, while it works, I even found a better solution once i found the api documentations for the chromedriver (located in the C:\Program Files\SeleniumBasic folder). I will post my code below to find the window title of current chrome tab and the code to swit...
by Axxi
09 Apr 2020, 11:31
Forum: Ask For Help
Topic: Autohotkey with Selenium - Switch Chrome Tab? Topic is solved
Replies: 2
Views: 208

Autohotkey with Selenium - Switch Chrome Tab? Topic is solved

Hi! I've been playing around with Selenium for chrome and ive managed to automate some really annoying tasks. I can connect to an already open chrome instance, the problem is switching between tabs, i just cant find the command to do that (idk if its even possible). I wanna be able to switch tabs to...
by Axxi
03 Apr 2020, 08:47
Forum: Ask For Help
Topic: Autohotkey IE sending info to page problem Topic is solved
Replies: 3
Views: 326

Re: Autohotkey IE sending info to page problem Topic is solved

Welcome to the forums! You have to realize that you are dealing with frames here - in this case, the login field is in a frame named outer : pwb := ComObjCreate( "InternetExplorer.Application" ) pwb.visible := true pwb.navigate("https www.pacsoftonline.se /") Broken Link for safety return F8:: oute...
by Axxi
02 Apr 2020, 11:02
Forum: Ask For Help
Topic: Autohotkey IE sending info to page problem Topic is solved
Replies: 3
Views: 326

Autohotkey IE sending info to page problem Topic is solved

Hi! I am trying to automate some browser tasks with IE/Chrome, but there's this one website that i just cant seem to send information/keys to. The website is https www.pacsoftonline.se / Broken Link for safety , i am just trying to enter username/password into the fields for automating login, but i ...

Go to advanced search