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

Headless Recorder to Rod #520

Closed
sundarv85 opened this issue Dec 19, 2021 · 4 comments
Closed

Headless Recorder to Rod #520

sundarv85 opened this issue Dec 19, 2021 · 4 comments
Labels
question Questions related to rod

Comments

@sundarv85
Copy link

We are having scripts recorded using Checkly Recorder. Is it possible to use these steps and convert them into wayang or any other way to directly run it with go-rod.

If yes, any pointers on this. If not, should we manually rewrite all these steps/scripts into go code separately..

@sundarv85 sundarv85 added the question Questions related to rod label Dec 19, 2021
@rod-robot
Copy link

Please add a valid **Rod Version:** v0.0.0 to your issue. Current version is v0.101.8
generated by check-issue

@ysmood
Copy link
Member

ysmood commented Dec 19, 2021

We don't have it yet. But because the design of Rod is very similar to puppeteer, I think it won't be very hard to modify the
headless-recorder to output golang code for Rod.

Add another file called rod.js to this folder: https://github.com/checkly/headless-recorder/tree/main/src/modules/code-generator, inherit and override this base class https://github.com/checkly/headless-recorder/blob/main/src/modules/code-generator/base-generator.js

Related to: #139

@ysmood ysmood closed this as completed Apr 7, 2022
@sundarv85
Copy link
Author

Hi @ysmood

I have not yet tried to modify it. But do you see this to be in the roadmap where Rod will run checkly recorded scripts..

@ysmood
Copy link
Member

ysmood commented Apr 7, 2022

Sure if we have time.

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

No branches or pull requests

3 participants