0

<a ng-click="pageNavCtrl.executeCallback(item.callback, item.callbackArgs, $event)" ng-href="https://commerce.spscommerce.com/fulfillment/transactions/list/" translate-attr-title="fulfillment.pageNavLink.transactions" translate="fulfillment.pageNavLink.transactions" translate-default="Transactions" href="https://commerce.spscommerce.com/fulfillment/transactions/list/" title="Transactions"><span>Transactions</span></a>

I am using python and selenium to automate a web report. I tried different find_element_by options but none worked.

In this scenario, I am trying move from Dashboard to Transactions.

enter image description here

1
  • Please read How to ask and update your question. Commented Mar 10, 2021 at 5:35

1 Answer 1

1
driver.find_element_by_xpath('//a[contains(@href,"https://commerce.spscommerce.com/fulfillment/transactions/list/")]')
Sign up to request clarification or add additional context in comments.

1 Comment

Thank you. I tried xpath but received 'selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element' error. I tried adding driver.implicitly_wait, but not working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.