longvh211 / Chromium-Automation-with-CDP-for-VBA

A method to directly automate Chromium-based web browsers, such as Chrome, Edge, and Firefox, using VBA for Office applications by following the Chrome DevTools Protocol framework.
MIT License
44 stars 5 forks source link

Function getElementsByName() #14

Open madhatt30 opened 1 year ago

madhatt30 commented 1 year ago

I've created a working function for getElementsByName that can be added and implemented but I'm not sure how to suggest, contact and get the code to be available for others. I work at a large company and I am maintaining internal code that 100% must implement CDP and i'd like to engage this project to work on new features and help resolve existing. Please let me know how I can do this.

longvh211 commented 1 year ago

Hi madhatt, my apologies for the late reply. I hope you have found a way to address your need but if you have not, can you explain a bit more in regards to "suggest, contact, and get the code for others"?

rocketlaw commented 1 year ago

YES! getElementsByName would be amazing!

longvh211 commented 1 year ago

Hi rocketlaw, are you aware that you can use getElementsByXpath for the same purpose? getElementsByName is a bit old as not many HTML designs now favor adding the name attribute to its elements.