question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should have an ActionChain click for Click Element keyword

See original GitHub issue

As it is now, the only way to use a native ActionChain-based click on an element is by using the Click Element At Coordinates keyword. It would be nice to not need to specify coordinates and just do a native click on the center of a given element. This has been implemented in PR#1462.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
aaltatcommented, Sep 28, 2019

So we agree that keyword signature will change to: | Click Element | locator | modifier=False | action_chain=False |. Retry is not done and keyword will fail at the first attempt.

0reactions
JonKosercommented, Sep 28, 2019

Agreed! A bit hackish, maybe, but it’ll also be nice just to have the option since the to types of clicks clearly exercise the code in different ways.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SeleniumLibrary - Robot Framework
SeleniumLibrary is a web testing library for Robot Framework. This document explains how to use keywords provided by SeleniumLibrary.
Read more >
Action Chains in Selenium Python - GeeksforGeeks
Here is a list of important methods used in Action chains. Method, Description. click, Clicks an element. click_and_hold, Holds down the left ...
Read more >
Robotframework: Issues while using Click Element" keyword
When I say "keyword had clicked on element", it means it did not throw any error and in some cases I can see...
Read more >
Action Class in Selenium – Mouse Click & Keyboard Events
In this tutorial, we will learn handling special keyboard and mouse Event using Action Class in Selenium Webdriver.
Read more >
Keyboard Events in Selenium Actions Class - Tools QA
Say, you want to automate this google search using the Selenium test, how will you simulate pressing the ENTER key using selenium code?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found