Integration of Rest-Assured with Selenium WebDriver

Hello guys. This is Semih. I would like to ask about integration of api and ui in the same framework. Let me give you an example to make it more clear. Letโ€™s login to the application with get request and then keep automation with Selenium WebDriver. Main goal is to save time. How could it be possible? What could we do if the response does not have any cookies? Thanks in advance.

2 Likes

I think @mwinteringham has some great info about it.
Check out his talk: MW Test Consultancy | Introducing the Selenium to Rest-assured adapter

Repo to convert cookies: GitHub - mwinteringham/selenium-to-restassured: Easily share Selenium WebDriver cookies with Rest Assured back and forth with this Java library

1 Like

Thanks for the share @kristof

I should add this is a little out of date and may not work. If it doesnโ€™t @cucumber let me know and Iโ€™ll update it.

1 Like