Clément 148 Posted December 10, 2023 Hi, (I will use Delphi Athens for this project) This project started as 100% python, but the developer had some problems calling "Edge Browser" from Python. I know this is a out of topic, but is there a way to call and interact with Edge Browser directly from Python. By interact, I mean using DOM, executing scripts , getting results to keep running the script. I know I can interact pretty well with Edge Browser from Delphi. Most of these requirements are met. But there's a lot of python code I just don't have time (nor knowledge) to translate to Delphi.... I believe there's two choices: 1) Create a delphi module to be called from python (using ctypes). This module would call edge and serve as a bridge between python and the browser. 2) Execute the whole thing from delphi using P4D. I honestly don't have a clue what challenges I will face from either solution. Could someone shed some light? Is there a sample or demo I could study? TIA, Clément Share this post Link to post
David Heffernan 2353 Posted December 10, 2023 If it can be done in Delphi then it can be done In Python Share this post Link to post
Fr0sT.Brutal 900 Posted December 28, 2023 Consider using WebDriver approach with browser running in headless mode Share this post Link to post