Help me. I made a program, one of the actions is to click on the check out button on the site gamdom.com . The fact is that I have it working and everything is clicked. But the friend to whom I threw this program, this button does not profit. Whatever I do. Selenium does not give an error when you click on the button,but it does not click it.
in this code, the button is pressed by me, but not by a friend (it is pressed, but does not do anything, it will do after login to the site)
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
def test(): #####################/CHECKOUT WILL DO SOMETHING ONLY AFTER LOGIN ON SITE/#####################################################
driver = webdriver.Chrome(executable_path=r'C:/webdriver/79.0.3945.36/chromedriver.exe')
driver.get("https://gamdom.io/marketplace/P2P") # open site
try:
driver.find_element_by_xpath("//div[@class='p2p-modal-content__ack']/input").click() # click checkbox
driver.find_element_by_xpath("//div[@class='p2p-modal-content__button']/button").click() # click confirm
except:
pass
driver.find_element_by_xpath("//div[@class='viewport normal-design']/div[3]/div[2]/div[2]/div[2]/div/div/div/div/div/div/div/div[1]").click() # click on first item
print(1)
driver.find_element_by_xpath(f"//div[@class='viewport normal-design']/div[3]/div[2]/div[2]/div[2]/div[2]/div[1]/div[2]/a").click() # click checkout
print(2)
input()
test()