Selenium Browser Automation in Python - Part 2

preview_player
Показать описание
In this video, I'll show you how to use Python and the Selenium automation tool to create an automation script to run recursive attacks on players in the browser game Kingdoms.

#seleniumwithpython #softwaretesting #python #selenium
Рекомендации по теме
Комментарии
Автор

Hello @Nature_Runes,
In a browser game that primarily uses a <canvas> element for rendering, specific elements within the game world may not be directly accessible through the DOM like traditional HTML elements. This is because the content rendered within a <canvas> is typically drawn directly onto the canvas as pixels, and not as individual HTML elements with distinct properties.

You can execute in-game actions by making requests to the corresponding endpoints without interacting with the UI. To set up automatic login:

Open the developer tools and inspect the endpoint that gets triggered when you click the login button. Once you identify this endpoint,
you can create a script to automatically send POST requests to the login endpoint with your login credentials.

Tronic.official