Thanks, Dorian. This article is extremely helpful!Dorian (MJT support) wrote: ↑Tue Aug 01, 2023 4:44 pmMarcus wrote a very good blog post on it here : https://www.mjtnet.com/blog/2020/02/27/ ... functions/
Search found 104 matches
- Tue Aug 01, 2023 7:03 pm
- Forum: Technical / Scripting
- Topic: Having Trouble Extracting from a site using Chrome Functions...
- Replies: 6
- Views: 9543
Re: Having Trouble Extracting from a site using Chrome Functions...
- Tue Aug 01, 2023 4:22 pm
- Forum: Technical / Scripting
- Topic: Having Trouble Extracting from a site using Chrome Functions...
- Replies: 6
- Views: 9543
Re: Having Trouble Extracting from a site using Chrome Functions...
The trick was to get the entire job panel. There are 15 of them so you should see 15 results. From this : < td class =" resultContent "><div class="css-1m4cuuf e37uo190"><h2 class="jobTitle css-1h4a4n5 eu4oa1w0" tabindex="-1"> We get: ChromeFindElements>session_id,xpath,// td [@ class =' resultCont...
- Mon Jul 31, 2023 10:49 pm
- Forum: Technical / Scripting
- Topic: Having Trouble Extracting from a site using Chrome Functions...
- Replies: 6
- Views: 9543
Re: Having Trouble Extracting from a site using Chrome Functions...
This post may help you with the correct xpath usage. Hi Dorian, I tried following along with the post you sent but I had a lot of trouble following the code and what was taking place. I usually am able to follow along to a degree but this is a bit beyond my skills at this point. Everything I need t...
- Mon Jul 31, 2023 7:46 pm
- Forum: Technical / Scripting
- Topic: Having Trouble Extracting from a site using Chrome Functions...
- Replies: 6
- Views: 9543
Having Trouble Extracting from a site using Chrome Functions...
Hi, I'm trying to use Chrome Functions to scrape data from Indeed. Here's a link to the page I'm trying to scrape: https://www.indeed.com/jobs?q=Accountant&l=Detroit&from=searchOnHP&vjk=a9a229d5dd495be3 I just need to extract the following data: 1) Job Title 2) Company Name 3) City & State I tried a...
- Tue Jun 13, 2023 7:40 pm
- Forum: Technical / Scripting
- Topic: MS Having Trouble waiting for a Dynamically Generated Web Page to Load...
- Replies: 2
- Views: 6376
Re: MS Having Trouble waiting for a Dynamically Generated Web Page to Load...
I'm going to try the pixel color and see if that works. Thanks!
- Mon Jun 12, 2023 10:33 pm
- Forum: Technical / Scripting
- Topic: MS Having Trouble waiting for a Dynamically Generated Web Page to Load...
- Replies: 2
- Views: 6376
MS Having Trouble waiting for a Dynamically Generated Web Page to Load...
Hi, I don't really have code for this but most of my macros center around my work and interfacing with the CRM my company uses (Salesforce). Most of that work includes opening customer or prospect profiles by clicking on their name and then scraping or viewing some data in the profile and closing it...
- Tue Jun 06, 2023 10:18 pm
- Forum: Technical / Scripting
- Topic: Copy some data and store it to an Array without leaving current page
- Replies: 8
- Views: 13400
Re: Copy some data and store it to an Array without leaving current page
If this is what was in your txt file, my guess is that's what was in the clipboard if you were copying and pasting within the script editor. So maybe your script is not actually copying the URL. My hunch is that it's possibly running a little too fast and needs some very small waits inbetween keyst...
- Mon Jun 05, 2023 7:49 pm
- Forum: Technical / Scripting
- Topic: Copy some data and store it to an Array without leaving current page
- Replies: 8
- Views: 13400
Re: Copy some data and store it to an Array without leaving current page
Hi all, Ok so this is the code I used: Wait>0.2 Press Ctrl Send>l Release Ctrl Press Ctrl Send>c Release Ctrl Wait>0.3 GetClipBoard>URL WriteLn>C:\Users\userID\OneDrive - MyCompany\Documents\URL_List.txt,wres,%URL% Press Esc So when I tried the code I changed the %temp_Dir% path to the actual path I...
- Mon Jun 05, 2023 7:00 pm
- Forum: Technical / Scripting
- Topic: Copy some data and store it to an Array without leaving current page
- Replies: 8
- Views: 13400
Re: Copy some data and store it to an Array without leaving current page
I agree with Dorian. Save to a file. I don't know who came up with the Alt + D. I prefer Ctrl + L. Its supposed to work in all web browsers and also works in Windows File Explorer. You could also add a dialog or message at the end that displays for a second to let you know the hotkey worked. Wait>0...
- Sun Jun 04, 2023 7:40 pm
- Forum: Technical / Scripting
- Topic: Copy some data and store it to an Array without leaving current page
- Replies: 8
- Views: 13400
Copy some data and store it to an Array without leaving current page
Hello, So I know this is probably SIMPLE but I'm stuck... So let's say I'm on a site like EBay or Amazon and I'm looking through pages of items I want to store in an array to look at later. I may view something close to 500 pages and want to store 200 of them for instance. For my purposes, I want to...
- Tue Apr 11, 2023 3:56 pm
- Forum: Technical / Scripting
- Topic: Getting a JSON Error trying to use EdgeStart command...
- Replies: 7
- Views: 3803
Re: Getting a JSON Error trying to use EdgeStart command...
"Your admin needs you to sign in. To use Profile 1 please sign in or switch to a different account." That's a new one on me. I'll have to refer that to Marcus. Is it stopping you dead in the water or is it allowing you to continue with EdgeNavigate? Guesses: I'm wondering if something set by your a...
- Mon Apr 10, 2023 11:49 pm
- Forum: Technical / Scripting
- Topic: Getting a JSON Error trying to use EdgeStart command...
- Replies: 7
- Views: 3803
Re: Getting a JSON Error trying to use EdgeStart command...
Your session ID in EdgeStart and EdgeNavigate don't match. You're creating strSessionID but then trying to navigate using session_id EdgeStart>session_id EdgeNavigate>session_id,url,%TheURL% Ah, ok. I just used the name of the session EdgeStart gave me by default. I understand that much better now....
- Mon Apr 10, 2023 10:47 pm
- Forum: Technical / Scripting
- Topic: Getting a JSON Error trying to use EdgeStart command...
- Replies: 7
- Views: 3803
Re: Getting a JSON Error trying to use EdgeStart command...
Hey, Dorian Followed the steps and it's still giving the same error. I downloaded the correct version. Ok, I closed everything and opened it again and it's asking me to sign in each time instead of just opening a browser. However it's not going to the url that was stated in the example. Also Edge s...
- Mon Apr 10, 2023 10:41 pm
- Forum: Technical / Scripting
- Topic: Getting a JSON Error trying to use EdgeStart command...
- Replies: 7
- Views: 3803
Re: Getting a JSON Error trying to use EdgeStart command...
Hey, Dorian
Followed the steps and it's still giving the same error.
I downloaded the correct version.
Followed the steps and it's still giving the same error.
I downloaded the correct version.
- Mon Apr 10, 2023 8:46 pm
- Forum: Technical / Scripting
- Topic: Getting a JSON Error trying to use EdgeStart command...
- Replies: 7
- Views: 3803
Getting a JSON Error trying to use EdgeStart command...
Hi, I just upgraded to MS-15 and I'm trying to use the Edge commands. I downloaded the correct version of MSEdgeDriver to my computer and I'm trying to run EdgeStart but I keep getting the following error from Macro Scheduler: "Error in: _debug.dbg Line: 11 - (1.1) Unquoted string in JSON data only ...