I
I
ImCosmoboy2018-10-13 00:46:51
Java
ImCosmoboy, 2018-10-13 00:46:51

Tell me how to parse websites using java and Selenium?

Hello, I'm a beginner tester. I am learning testing, I became interested in how people automate their test cases. And I decided to read about it. I downloaded selenium,idea and started to try. I learned how to open the site, click on the element I need and that's it. I would like to know how to parse the site. For example pikabu.ru. Find posts from the maximum rating to, for example, 500. You can show examples and tell how and why you do it this way. So that later I can learn how to parse the site that I want)
I would like to immediately apologize if this is a "well, a very easy question."
Thanks for understanding.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Frozen Coder, 2018-10-13
@frozen_coder

I parsed with jsoup .
I'm not a pure tester, but when I had to write UI tests, I used geb . It is very convenient, but it is on groovy (if you know java, then there will be no problems in mastering groovy at all). Try it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question