Lot of Automation engineers have shifted to new Web automation tools like Cypress, WebDriverIO, Pupeeter, Playwritght, Katalon Studio, AI tools like Testium, Functionize etc and i am still working on Java and Selenium, Cucumber Framework..
Will in coming time, Selenium/java become less popular for QA engineers and all code will be moved/re-written in newer tools ?