API vs Frontend automation

Hi,

I have a web application. And option to do either front end automation or fetch/post the same details using APIs.

Could someone help me with which would be the better approach and why? Some pros and cons on both approach please ?

TIA

1 Like

Hi @SudhakarAs92

Much better go with API if the application provide everything that you need. It is more reliable, stable, fast, easier… your concerns is just around data transfers and data conversion.

Using a front end automation you bring other elements to the table… softwares initialization/closing, pre-configurations, selectors, etc. In other words, you need to deal with more things.

1 Like