Original title:
Využití Puppeteeru pro automatizaci akcí webového prohlížeče
Translated title:
Usage of Puppeteer for automation of web browser actions
Authors:
Levý, Jakub ; Klímek, Jakub (advisor) ; Škoda, Petr (referee) Document type: Bachelor's theses
Year:
2021
Language:
cze Abstract:
[cze][eng] V této práci se zabýváme automatickým ovládáním webových prohlížečů. Naším cílem je vytvořit řešení umožňující zaznamenat akce, které bude možné uložit a opětovně vykonat. Vzhledem k tomu, že takových produktů existuje již řada, zejména pro ustálený framework Selenium, je pro nás zásadní využít novější a modernější knihovnu Puppeteer, pro kterou tyto nástroje neexistují. Práce začíná rešeršní částí některých knihoven a produktů, následně jsou stanoveny požadavky kladené na naše řešení, mezi které patří připojení ke vzdálené instanci prohlížeče a uživatelské rozhraní. Řešení bylo implementováno podle těchto požadavků. Součástí práce je zhodnocení a porovnání funkcionality oproti konkurenčním produktům. Krátce můžeme vyhodnotit - výhodou našeho řešení oproti produktům Selenium IDE a Katalon Recorder vytvořených nad Seleniem je možnost připojení na vzdálenou instanci prohlížeče. Nevýhodou je chybějící podpora podmínek a cyklů, které nebyly stanoveny v požadavcích, a proto nebyly implementovány.In this thesis, we deal with the automatic control of web browsers. Our aim is to create a solution to record actions that can be saved and re-executed. As there is already a number of such products, especially for the established Selenium framework, it is crucial for us to use the newer and modern Puppeteer library for which these tools do not exist. The thesis begins with the research part of libraries and products, then the requirements for our solution are determined, which include remote browser connection and user interface. The solution was implemented according to these requirements. Part of the thesis involves evaluating and comparing functionality with competing products. We can briefly evaluate-the advantage of our solution over Selenium IDE and Katalon Recorder products built on Selenium is the ability to connect to a remote instance of a browser. The drawback is the lack of support for conditions and cycles that were not determined as a requirement, and, therefore, have not been implemented.
Keywords:
Puppeteer|web browser automation; Puppeteer|automatizace webového prohlížeče
Institution: Charles University Faculties (theses)
(web)
Document availability information: Available in the Charles University Digital Repository. Original record: http://hdl.handle.net/20.500.11956/127959