我在下面有这个代码来生成带旋转的多边形点。但这将围绕其中心旋转对象。我需要围绕它的左下角旋转它。
driver.get("https://jklm.fun/JXUS")
WebDriverWait(driver, 5).until(EC.visibility_of_element_located((By.XPATH, "//button[@class='styled']"))).click()
time.sleep(10)
driver.switch_to.frame(0)
while True:
Get_Text = driver.find_element_by_xpath("//div[@class='round']").text
print(Get_Text)