用于拖放命令的Selenium IDE和Katalon IDE命令在导出到python时不起作用。 导出时显示以下错误: 错误:捕获到异常[错误:不支持的命令[dragAndDrop |//*[@id=“ConsumerSlider”]/div | 100,0]]。 在python中尝试了下面这样的动作链,但没有用
en = self.driver.find_element_by_xpath("//*[@id='ConsumerSlider']/div")
move = ActionChains(self.driver)
move.drag_and_drop_by_offset(en, +10, 0).perform()
它在执行时抛出这个错误
:self = response = {'status': 404, 'value': '{"value":{"error":"unknown command","message":"(Session info: chrome=78.0.3904.97)","stacktr...\n\tRtlGetAppContainerNamedObjectPath [0x779858ED+253]\n\tRtlGetAppContainerNamedObjectPath [0x779858BD+205]\n"}}'}
目前没有回答
相关问题 更多 >
编程相关推荐