Click Element takes 90 seconds too perform

172 views
Skip to first unread message

Артур Башлыков

unread,
Aug 2, 2018, 4:56:01 AM8/2/18
to robotframework-users
Hi, what could be the reason that click element takes 90 seconds to perform?

geckodriver is 0.19.1, firefox 58.0.2, selenium 3.10.0

Sometimes it leads to Firefox crash
[Parent 313, Gecko_IOThread] WARNING: pipe error (41): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[Parent 313, Gecko_IOThread] WARNING: pipe error (34): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[Parent 313, Gecko_IOThread] WARNING: pipe error (98): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353

###!!! [Parent][MessageChannel] Error: (msgtype=0x150084,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv


###!!! [Parent][MessageChannel] Error: (msgtype=0x150084,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv

A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down

I run it headless with
xvfb-run --server-args="-screen 0 1920x1080x24 -ac" pybot ...

Screen Shot 2018-08-02 at 11.45.27.png

Tatu Aalto

unread,
Aug 2, 2018, 2:23:22 PM8/2/18
to arthur.b...@gmail.com, robotframework-users
Ugh

From the log one can see that time is spent on Geckodriver or in the Firefox side, clicking the element. There is not anything that we could change in the SeleniumLibrary side to speed up things. I would guess that updating Selenium, Geckodriver and/or Firefox could help.

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Артур Башлыков

unread,
Aug 7, 2018, 4:47:26 AM8/7/18
to robotframework-users
I have updated geckodriver-0.21.0, firefox-61.0.3, robotframework-3.0.4, robotframework-seleniumlibrary-3.1.1, selenium-3.14.0, robotframework-selenium2library-3.0.0 it did not help.
It reproducible only in gitlab CI, test runs in fedora:27 docker image.

On Thursday, August 2, 2018 at 9:23:22 PM UTC+3, Tatu Aalto wrote:
Ugh

From the log one can see that time is spent on Geckodriver or in the Firefox side, clicking the element. There is not anything that we could change in the SeleniumLibrary side to speed up things. I would guess that updating Selenium, Geckodriver and/or Firefox could help.

-Tatu
Send from my mobile

On Thu, 2 Aug 2018, 11:56 Артур Башлыков, <arthur.b...@gmail.com> wrote:
Hi, what could be the reason that click element takes 90 seconds to perform?

geckodriver is 0.19.1, firefox 58.0.2, selenium 3.10.0

Sometimes it leads to Firefox crash
[Parent 313, Gecko_IOThread] WARNING: pipe error (41): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[Parent 313, Gecko_IOThread] WARNING: pipe error (34): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[Parent 313, Gecko_IOThread] WARNING: pipe error (98): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353

###!!! [Parent][MessageChannel] Error: (msgtype=0x150084,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv


###!!! [Parent][MessageChannel] Error: (msgtype=0x150084,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv

A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down

I run it headless with
xvfb-run --server-args="-screen 0 1920x1080x24 -ac" pybot ...

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

Tatu Aalto

unread,
Aug 7, 2018, 5:12:00 AM8/7/18
to arthur.b...@gmail.com, robotframework-users
Ugh

There is not anything that we could change in the SeleniumLibrary side to make the click be faster or stable. This is because the problem happens somewhere in the Geckodriver or Firefox part. If you can not find Firefox and Geckodriver combination that works for you, then your options are limited. At least you should report the problem to Mozilla, because they are responsible for maintaining the Firefox and Geckodriver. Then you could try test with Chrome or you could try some JavaScript to click the element.

-Tatu
Send from my mobile
On Tue, 7 Aug 2018, 11:47 Артур Башлыков, <arthur.b...@gmail.com> wrote:
I have updated geckodriver-0.21.0, firefox-61.0.3, robotframework-3.0.4, robotframework-seleniumlibrary-3.1.1, selenium-3.14.0, robotframework-selenium2library-3.0.0 it did not help.
It reproducible only in gitlab CI, test runs in fedora:27 docker image.

On Thursday, August 2, 2018 at 9:23:22 PM UTC+3, Tatu Aalto wrote:
Ugh

From the log one can see that time is spent on Geckodriver or in the Firefox side, clicking the element. There is not anything that we could change in the SeleniumLibrary side to speed up things. I would guess that updating Selenium, Geckodriver and/or Firefox could help.

-Tatu
Send from my mobile

On Thu, 2 Aug 2018, 11:56 Артур Башлыков, <arthur.b...@gmail.com> wrote:
Hi, what could be the reason that click element takes 90 seconds to perform?

geckodriver is 0.19.1, firefox 58.0.2, selenium 3.10.0

Sometimes it leads to Firefox crash
[Parent 313, Gecko_IOThread] WARNING: pipe error (41): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[Parent 313, Gecko_IOThread] WARNING: pipe error (34): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[Parent 313, Gecko_IOThread] WARNING: pipe error (98): Connection reset by peer: file /builddir/build/BUILD/firefox-58.0.2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353

###!!! [Parent][MessageChannel] Error: (msgtype=0x150084,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv


###!!! [Parent][MessageChannel] Error: (msgtype=0x150084,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv

A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down

I run it headless with
xvfb-run --server-args="-screen 0 1920x1080x24 -ac" pybot ...

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.

To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages