I have the following element that is the 4th element on a nav bar within a website:
<a href="#step3" data-toggle="tab" data-bind="click: function(){ viewModel.GetRequiredDocuments(viewModel.xxxx); viewModel.xxxx(); }" aria-expanded="true">Documents</a>
I am able to select the element. I have confirmed that I have the right element by locals window in vba and debug print the label (ie Documents). However, when I send the "click", the website does not move to the proper tab.
It is not a wait until it is clickable problem as I have tried an explicit wait in which period I am to click on the element using the mouse (as a test).
Here is my relevant code:
Set documentLink = driver.FindElementByXPath("/html/body/div[11]/div[1]/div/ul/li[4]")
documentLink.Click
Any help is appreciated. Thanks.
<a href="#step3" data-toggle="tab" data-bind="click: function(){ viewModel.GetRequiredDocuments(viewModel.xxxx); viewModel.xxxx(); }" aria-expanded="true">Documents</a>
I am able to select the element. I have confirmed that I have the right element by locals window in vba and debug print the label (ie Documents). However, when I send the "click", the website does not move to the proper tab.
It is not a wait until it is clickable problem as I have tried an explicit wait in which period I am to click on the element using the mouse (as a test).
Here is my relevant code:
Set documentLink = driver.FindElementByXPath("/html/body/div[11]/div[1]/div/ul/li[4]")
documentLink.Click
Any help is appreciated. Thanks.