Hi,
I have been attempting to automate a web scraping process and I am needing to click a button on the web page; however, my object is constantly empty. Here is the html code:
I've tried using this:
But for some reason class name is not grabbing it. If anyone could help that would be wonderful.
</div>
I have been attempting to automate a web scraping process and I am needing to click a button on the web page; however, my object is constantly empty. Here is the html code:
HTML:
<div class="pull-right"> <button class="btn btn-primary js-export-customer"><span class="fui-export"></span>Export</button>
I've tried using this:
Code:
objIE.document.getElementsByClassName("btn btn-primary js-export-customer").Click
But for some reason class name is not grabbing it. If anyone could help that would be wonderful.
</div>