Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing custom tasks #5

Open
RajNS02 opened this issue Jul 5, 2023 · 1 comment
Open

Executing custom tasks #5

RajNS02 opened this issue Jul 5, 2023 · 1 comment

Comments

@RajNS02
Copy link

RajNS02 commented Jul 5, 2023

Hello!
Thanks for this fantastic repo! The paper is also very amazing and insightful.

I was wondering whether it's possible to define custom HTML pages and tasks to be executed.
I was thinking of adding the custom HTML file in computergym/miniwob/miniwob_interface/html/miniwob directory and also including it in available_tasks.txt
Would this approach work? Please, let me know your thoughts about this.

Regards

@posgnu
Copy link
Owner

posgnu commented Aug 8, 2023

Hello, thank you for your interest in this repo, and sorry for the delay.

Currently, the RCI agent is using the MiniWoB++ benchmark, which is wrapped by the OpenAI Gym interface. Therefore, it will not be easy to add a custom HTML environment to the MiniWoB++ benchmark. Instead, I recommend running the agent directly on your custom website using Selenium. I have already implemented this code for the facebook.com webpage in the main.py. You can play around with the code and let me know if you have more questions.

You can lunch the code with the below argument.

--env facebook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants