Hello all,
When Im in the site, there are 2 tabs - wathlists and quotelists. Quotelists is the default. When I put the simple link to watchlists it pops up and then ends up jumping back to the main page:
objIE.navigate "https://www...
I have also tried clicking the tab but Im still new to this and want to understand why this is not working. Ive done this before with other sites.
Have also tried class name with tabBorder
Can anyone suggest a fix to this. I think I'm not even clicking the button and believe I need to unselect quotelists???
Many thanks
Mike
When Im in the site, there are 2 tabs - wathlists and quotelists. Quotelists is the default. When I put the simple link to watchlists it pops up and then ends up jumping back to the main page:
objIE.navigate "https://www...
I have also tried clicking the tab but Im still new to this and want to understand why this is not working. Ive done this before with other sites.
Code:
x = objIE.document.getElementsByClassName("selected")
x.Click
HTML:
<div class="mainTabs"><a class="selected" href="../quotelist/quotelist.asp"><div>Quote Lists</div></a><a class="notSelected" href="../watchlist/watchlist.asp"><div>Watch Lists</div></a> <div class="tabBorder"></div></div> <a class="selected" href="../quotelist/quotelist.asp"><div>Quote Lists</div></a> <a class="notSelected" href="../watchlist/watchlist.asp"><div>Watch Lists</div></a> <div>Watch Lists</div> </a> <div class="tabBorder"></div> </div>
Can anyone suggest a fix to this. I think I'm not even clicking the button and believe I need to unselect quotelists???
Many thanks
Mike