Python: How to simulate a click using BeautifulSoup
<p><strong>I don't want to use selenium since I dont want to open any browsers.</strong></p>

<p>The button triggers a Javascript method that changes something in the page.
I want to simulate a button click so I can get the "output" from it.</p>

<h2>Example (not what the button actually do) :</h2>

<p>I enter a name such as "John", press the button and it changes "John" to "nhoJ".
so I already managed to change the value of the input to John but I have no clue how I could simulate a button click so I can get the output.</p>

<p>Thanks.</p>

<p>You can't do what you want. Beautiful soup is a text processor which has no way to run JavaScript. </p>

python