selenium-remotedriver

selenium.JavascriptException: javascript error: Failed to execute 'elementFromPoint' on 'Document': The provided double value is non-finite

…衆ロ難τιáo~ 提交于 2021-01-21 07:10:28
问题 using chrome 78 and chromedriver78 When i click an audio file or try to stop an audio using selenium tests i am getting this error. Error: org.openqa.selenium.JavascriptException: javascript error: Failed to execute 'elementsFromPoint' on 'Document': The provided double value is non-finite. Note it happens only with remote webdriver and its not consistent. Error stack trace: When the audio player of the "item_1" element is stopped in "[data-rcfid='checkbox_7']" org.openqa.selenium

Cannot fetch value from table using Selenium::Remote::Driver in perl

空扰寡人 提交于 2020-07-09 17:12:52
问题 I need to take value from a table cell and it is identifying the element but not fetching the value out of it. I've tried: $driver-> get_text('xpath') and also $driver->find_element('xpath').get_text(); None of these are working here. HTML: <td class="status"> <span class=" jira-issue-status-lozenge aui-lozenge jira-issue-status-lozenge-blue-gray jira-issue-status-lozenge-new aui-lozenge-subtle jira-issue-status-lozenge-max-width-medium" data-tooltip="<span class="jira-issue-status-tooltip

Cannot fetch value from table using Selenium::Remote::Driver in perl

限于喜欢 提交于 2020-07-09 17:09:04
问题 I need to take value from a table cell and it is identifying the element but not fetching the value out of it. I've tried: $driver-> get_text('xpath') and also $driver->find_element('xpath').get_text(); None of these are working here. HTML: <td class="status"> <span class=" jira-issue-status-lozenge aui-lozenge jira-issue-status-lozenge-blue-gray jira-issue-status-lozenge-new aui-lozenge-subtle jira-issue-status-lozenge-max-width-medium" data-tooltip="<span class="jira-issue-status-tooltip

SessionNotCreatedException: Message: Unable to create new service: ChromeDriverService with Selenium 3.14.0 and Python 3.7.3

拟墨画扇 提交于 2019-12-02 11:43:40
问题 Python 3.7.3 Pycharm 2019.1.3 selenium standalone 3.14.0 Selenium 3.141.0 Java JDK 12.0.2 Windows 7 When I try to run script using remote webdriver a got the error, my java.version is not what I expected (expected version at least 12.): selenium.common.exceptions.SessionNotCreatedException: Message: Unable to create new service: ChromeDriverService Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z' System info: host: 'host_name', ip: 'localhost', os.name:

Is there a way too prevent selenium automatically terminating idle sessions?

…衆ロ難τιáo~ 提交于 2019-11-29 16:52:14
I am using selenium for automating some interactions with websites. This process involves opening several browsers and having them perform actions intermittently. However, occasionally there are long (> 1 hour) periods of inaction, and selenium seems to automatically kill browser sessions after ~30 minutes of not being called. I would like to set this timeout to 7 hours or so, but I cannot find any way of doing this. This is the message selenium sends as it helpfully closes an idle browser. 13:06:35.277 INFO [ActiveSessions$1.onStop] - Removing session 70a1b8cbae6876cde7e66df13b3942d1 (org

Is there a way too prevent selenium automatically terminating idle sessions?

徘徊边缘 提交于 2019-11-28 11:11:22
问题 I am using selenium for automating some interactions with websites. This process involves opening several browsers and having them perform actions intermittently. However, occasionally there are long (> 1 hour) periods of inaction, and selenium seems to automatically kill browser sessions after ~30 minutes of not being called. I would like to set this timeout to 7 hours or so, but I cannot find any way of doing this. This is the message selenium sends as it helpfully closes an idle browser.