Search found 20 matches
- 23 May 2023, 16:36
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
I need some help changing the start and end date fields on a page - I got this code to work in the developer console: var datePickers = document.querySelectorAll('kat-date-picker'); datePickers[0].value = '04/19/2023'; // Start date datePickers[1].value = '05/20/2023'; // End date When I add it to m...
- 02 Jan 2023, 10:24
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Hi Rufaydium team, I need some guidance on how to target these buttons please. In the Accounts.PNG attachment, you'll see on the frontend that there are multiple Accounts (e.g. A-Z Trading Co, Aaron.lims product, etc), and under each account, there are buttons for each country (United States, Canad...
- 31 Dec 2022, 07:59
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Hi Rufaydium team, I need some guidance on how to target these buttons please. In the Accounts.PNG attachment, you'll see on the frontend that there are multiple Accounts (e.g. A-Z Trading Co, Aaron.lims product, etc), and under each account, there are buttons for each country (United States, Canada...
- 09 Dec 2022, 10:32
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Xeo786 I'm not sure what I'm doing wrong but I can't get it to work. Here is what my code looks like...I've tried both 'session.GetCookies()' and 'Page.GetCookies()' and both has not worked. #SingleInstance, Force #include Rufaydium.ahk Chrome := new Rufaydium("chromedriver.exe") Chrome.capabilitie...
- 09 Dec 2022, 08:35
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Hey Xeo786 , my code works perfectly except when I run headless mode. I've searched this thread and learned that it might have to do with cookies but I'm not sure how to load cookies. I tried adding this below my capabilities but it didn't work: Cookies := Session.GetCookies() I'm not surprised sinc...
- 30 Nov 2022, 10:11
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
- 30 Nov 2022, 06:44
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Xeo786 The link text worked perfectly!!! Amazing! I'm stuck with two other things - I'd appreciate any input: 1) This works in Dev Console: document.getElementById("includeZeroImpressionEntities").checked = false But none of these work when I run my script: Page.getElementById("includeZeroImpressio...
- 29 Nov 2022, 18:56
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
I'm trying to click on the first link with certain partial text. I've tried this but it's not working: Page.findelement(by.Plinktext,"https://advertising.amazon.com/bulksheet/downloadReport").Click() Based on the ReadMe, I think I need this somewhere: Class by { static Plinktext := "https://advertis...
- 29 Nov 2022, 16:51
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
I don't know the details of Rufaydium specifically or of the HTML you're acting on to be able to give you specific feedback. I can tell you that the version you showed with % around endDate is wrong. You typically don't use % in expressions except for advanced cases which you aren't using. Thanks b...
- 29 Nov 2022, 14:58
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
... this doesn't work when I run my script: Page.getElementById("includeZeroImpressionEntities").checked = false Nothing is happening and I have no idea why. Again, you need to use the expression version of the assignment operator: Page.getElementById("includeZeroImpressionEntities").checked := fal...
- 29 Nov 2022, 13:06
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
... this doesn't work when I run my script: Page.getElementById("includeZeroImpressionEntities").checked = false Nothing is happening and I have no idea why. Again, you need to use the expression version of the assignment operator: Page.getElementById("includeZeroImpressionEntities").checked := fal...
- 29 Nov 2022, 08:45
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
I'm trying to set the value of a box using AHK variables but the % signs are breaking my code: Note the different assignment operator and no % signs: Page.querySelector(".sc-pcZJD.iNHvZE").value := reportName Explained: Expressions Also, I don't have the foundational web-page knowledge to use Rufay...
- 29 Nov 2022, 07:19
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
I feel bad for asking so many questions but I'm stuck again :| I'm trying to set the value of a box using AHK variables but the % signs are breaking my code: accName := "Nike" reportName := accName " ST Report" Page.querySelector(".sc-pcZJD.iNHvZE").value = %reportName% Also, I don't have the founda...
- 29 Nov 2022, 06:04
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
This seems like what you're going for: Page.querySelector("'[aria-label=""Choose Saturday, September 24, 2022 as your start date.""]'").click() I would do something like this Page.querySelector("[aria-label='Choose Saturday, September 24, 2022 as your start date.']").click() boiler and Xeo786 thank...
- 28 Nov 2022, 21:47
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Can anyone help me figure out how to select an element by aria-label? In the Dev Console, this works perfectly: document.querySelector('[aria-label="Choose Saturday, September 24, 2022 as your start date."]').click() This is giving an error saying quotes are missing: Page.querySelector("[aria-label=...
- 28 Nov 2022, 19:34
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
<button id="J_Button_NORMAL_ENABLED" data-eventid="J_Button_NORMAL_ENABLED" data-ccx-e2e-id="aac-button-J_Button_NORMAL_ENABLED" class="sc-storm-ui-20024493__sc-d3w8xm-0 EkIZt sc-plVjM kFjCZq" type="button">Run report</button> This element consist two classes "sc-storm-ui-20024493__sc-d3w8xm-0" and...
- 28 Nov 2022, 19:30
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.0 (no selenium/websocket)
@Xeo786, thanks. It looks like a step in correct direction. Now I see new Chrome' window but default URL (so script doesn't opens link). And look what I see: (Screenshot_26.png attachement) In this case code what used is: #include Rufaydium.ahk Chrome := new Rufaydium() Chrome.capabilities.setUserP...
- 28 Nov 2022, 09:06
- Forum: Scripts and Functions (v1)
- Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
- Replies: 614
- Views: 133195
Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
A little help please. I'm trying to click on a button 'Run report' but it's not working. I tried doing this directly in the browser console using JS (per Joe Gline's tutorial) but it's not working their either. Not sure what I'm doing wrong. In the browser console, I tried this JS that I learned fro...
- 02 Nov 2022, 20:31
- Forum: Ask for Help (v1)
- Topic: Hotstrings not expanding properly in AHK Studio
- Replies: 1
- Views: 166
Hotstrings not expanding properly in AHK Studio
I'm trying to create hotstrings with parameters notes for various AHK commands so I can deploy them as I code in my workflow. Example of such a hotstring: ::run..::;Target: URL, exe, bat, lnk, Verbs (right-click options): properties, 'find, 'explore, edit, 'open, 'print`n;Options: Min, Max, Hide Exa...
- 01 Jul 2022, 09:03
- Forum: SciTE4AutoHotkey
- Topic: Is there a shortcut for folding code? Please share?
- Replies: 2
- Views: 1414
Is there a shortcut for folding code? Please share?
Is there a shortcut to fold multiple lines of selected code? i.e. To replace manually typing "{" and "}" before and after those lines/blocks of code. Been Googling this for half-hour to no avail. Please help! I tried writing a script for this too but it's not working: ^u:: Send ^x Send `{ Send %Clip...