N
N
nuclear_skillet210112016-01-25 04:59:44
selenium
nuclear_skillet21011, 2016-01-25 04:59:44

Does Selenium have analogues?

Interested in whether the powerful Selenium `a has analogues or forks, primary googling on this topic did not give anything,
Interested in the possibility of writing a bot using the browser "like a person" Primary information about Selenium makes it clear that it is good, but there are also disadvantages:

Some WebDriver problems (from the web and personal experience):
- it happens that the behavior is different in different browsers;
- sometimes there are difficulties with finding elements (XPath and other methods sometimes simply do not work, although they should);
- inexplicable driver crashes right in the middle of the test;
- interaction is possible only with the first tab of the browser, the driver allows you to open new tabs and new ---windows, but does not allow you to work in them;
- it is necessary to clearly think over the architecture of the test, often use assert or expectations so that the test can "think" - when to do and when not.

Therefore, I would like to explore the options (if any).
Thank you for your attention.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeniy _, 2016-01-25
@nuclear_skillet21011

Some problems of WebDriver (from the web and personal experience): -
it happens that the behavior is different in different browsers;

Because Browsers themselves behave differently. And in cases where the behavior is different, a modified script is written.
Correct xpath - always works.
Again, a lot also depends on the technology that is used in the app and on the style of writing code by developers.
Check load. Injure locally and see what happens on the page.
webdriver allows you to open and close, and work with new / old tabs.
Will come with experience.

A
Alexander Ivanov, 2019-11-19
@formatko

Check out Puppeteer
https://pptr.dev/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question