FAO VBA Chrome Selenium Guru's
#5
(09-08-2022, 06:14 PM)Old Stroller Wrote:
(09-08-2022, 04:54 PM)Fulham Fallout Wrote: I wonder if you can help me please.

I'm trying to write a bit of VBS code in Excel to populate web forms

The website is similar to this one with a login and then I want to be able to send private messages

I'll bet you do.  Big Grin


Can't help with the technical stuff though, sorry.

You have a PM.

Sent by a macro course  Big Grin

(09-08-2022, 05:53 PM)waffle Wrote: A = driver.findelementbyclassname(‘input box class name’)
A.send_keys(‘hello’)

Something like that anyway. I’ve tended to use python rather than vb

Hi

Thanks for that.

I eventually discovered that shell opening websites in VBA are not the active page and I therefore was unable to populate the form.

I removed the shell function and called each url listed in the spreadsheet and it now works a treat.

I've learnt quite a bit coding this including website HTML structure and all the different ways of locating web elements.

Thanks again for your suggestion
Reply


Messages In This Thread
RE: FAO VBA Chrome Selenium Guru's - by waffle - 09-08-2022, 05:53 PM
RE: FAO VBA Chrome Selenium Guru's - by hudds - 02-16-2023, 08:09 PM
RE: FAO VBA Chrome Selenium Guru's - by SophLad - 09-08-2022, 06:20 PM
RE: FAO VBA Chrome Selenium Guru's - by Fulham Fallout - 09-09-2022, 11:15 AM
RE: FAO VBA Chrome Selenium Guru's - by SophLad - 09-09-2022, 11:46 AM
RE: FAO VBA Chrome Selenium Guru's - by Tom Joad - 02-16-2023, 08:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)