Open ZoeGit18 opened 3 years ago
Thats the last step of the check out process right ? I had it as driver.find_element_by_xpath('//button[@data-automation-id="summary-place-holder"]')
but in your case with the walmart code you gave me it should be the same search = driver.find_element_by_xpath('//button[@data-automation-id="summary-place-holder"]')
and not search = driver.find_element_by_xpath('//button[@data-automation-id="summary-place-holder-PlaceOrder-button"]')
after that run the enter command
Is there a way I could have it do the guest check out instead?
Sincerely Marvens Bastien
On Nov 19, 2020, at 2:52 PM, Nicolas notifications@github.com wrote:
Thats the last step of the check out process right ? I had it as driver.find_element_by_xpath('//button[@data-automation-id="summary-place-holder"]')
but in your case with the walmart code you gave me it should be the same search = driver.find_element_by_xpath('//button[@data-automation-id="summary-place-holder"]')
and not search = driver.find_element_by_xpath('//button[@data-automation-id="summary-place-holder-PlaceOrder-button"]')
after that run the enter command
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Is there a way I could have the driver place the order like ?
That's the Walmart "Place Order"
Walmart code = button class="button auto-submit-place-order no-margin set-full-width-button place-order-btn btn-block-s button--primary <" data-automation-id="summary-place-holder" data-tl-id="button" aria-label="Place Order" > type="submit">Place order/-->
Is it:
search = driver.find_element_by_xpath('//button[@data-automation-id="summary-place-holder-PlaceOrder-button"]') search.send_keys(Keys.ENTER) ????????????