Wish to build an open source Extension. The aim is to make blocks for Selinium. So, automation of websites can be done using mit ai2

I am trying to learn the process of making extension by making extension. Share your knoeledge and help me. Thankyou all.

So what you have done before can we see

elenium WebDriver cannot be directly used within MIT App Inventor because Selenium is designed to automate browsers on desktop environments

1 Like

Is it that it will not work within the browser of mobile phones, if we set it as desk top version?

Il consider it. Thankyou :slight_smile:

i think you can use Appium for this but i don't have much knowledge about it

Welcome - Appium Documentation

1 Like

Okay, can we automate desktop websites by storing selenium codes on a phone with the help of databases or google sheets?

OR,

Okay, can we automate desktop websites by using mit ai2 selenium extension on a phone with the help of databases or google sheets?

Okay, I got bit more clarity. Actually, the selinium codes will run only on desktop computer from database but the app will be created in mit ai2 plaftorm using our extension. Now, with the help of database or google sheet, and by making the Laptop/Desktop as server, our mit ai2 app will handle automation tasks easily. The automation process will happen in desktop but the remote instruction will be triggered using the app.

ADVANTAGE: Easier than actual coding especially for beginners.

QUESTION: Is it easy to make a laptop as a server? Is it possible to create blocks for that as well?

But for that one may have to learn codes. It will be a good alternative option if it is available as blocks (extension) as well.

I searched in ChatGPT and realized that it is easy to turn our laptop into server to accept the http request. So, if we pasted all the selinium codes (ie, our extension blocks) in a database, then when any user create an app using our blocks, the app will trigger the codes of database and make the laptop/server to do automation on websites. Because, the laptop is already prepared with java, selinium, webdriver etc.

MOST SIMPLIFIED:

To make users with no coding experience to generate selenium code for automation based on inputs (like URLs, button IDs, etc.) provided through mit ai2 blocks. The codes can be shared via email/whatsapp to download and execute on users laptop.

I shall try to create one block to open any user-given url automatically. The block will generate code for doing this automation.

1 Like

I created a simple java code (with Maven) to open browser and load url. How can I turn it into extension, help me.

Here is a guide although not in this community, but you can guide yourself with this guide and you can use either Niotron IDE, Fast or Rush to create extensions, there are other softwares, but mainly these are the ones I use.

1 Like