osscar-org / scicode-widgets

A collection of widgets to prepare interactive scientific visualisations, including user code input and validation
https://osscar-org.github.io/scicode-widgets/
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Cannot using WebDriver send_keys to WidgetCodeInput #22

Open agoscinski opened 1 year ago

agoscinski commented 1 year ago

For the tests I am using notebook==7.0.2 and used various way to add something to the line like

nb_cell.find_elements(By.CLASS_NAME, "CodeMirror-line")[3].send_keys("a")

clicking workings. I am not sure if is related to https://github.com/osscar-org/widget-code-input/issues/18 but with notebook==6.5.5 I get this error https://github.com/osscar-org/widget-code-input/issues/20 The only thing that works with the WidgetCodeInput correctly is jupyter lab 3.*, but that is not so simple get running in the current testing environment.