post_title = browser.find_element_by_id('title')
post_title.send_keys(title)
post_image = browser.find_element_by_id('content_ifr')
image=' '+image+'\n'
post_image.send_keys(image)
post_text = browser.find_element_by_id('content_ifr')
post_text.send_keys(text)
time.sleep(5)
#WebElement element = driver.findElement(By("publish"));
#Actions action = new Actions(driver);
#action.moveToElement(element).click().perform();
my_variable = browser.find_element_by_xpath('//*[@id="publish"]') #this is the checkbox
#my_variable.send_keys(webdriver.common.keys.Keys.SPACE)
#browser.switch_to_default_content()
#Pubish = browser.find_element_by_id('publish')
my_variable.click()
错误
Element <input type="submit" name="publish" id="publish" class="button
button-primary button-large" value="Publish"> is not clickable at point
(1283, 15). Other element would receive the click: <span class="display-
name">...</span>
使用python,硒铬webdriver自动化WordPress。 这与新职位有关。 无法点击发布按钮
试图最大化窗口-无法工作.. 尝试更换框架(使用Tinymce)-不起作用 尝试过的xpath解决方案-不起作用 尝试等待:不起作用
浏览器:Chrome 操作系统:WIN 10
也请您说明解决方案