首页 > 解决方案 > 使用 selenium 向 Google colab 发送输入

问题描述

我正在尝试在 Google colab 中运行以下代码。

# code for load the file
number = input('Enter the number')
print('You entered',number)

我将此代码保存在一个文件中并通过 selenium 加载它,当我运行代码时它显示输入框,但我不知道如何使用 selenium 和 python 发送数字。提前感谢您的帮助

PS如果您需要任何澄清,请随时询问

标签: pythonseleniumweb-scrapingpython-requestsgoogle-colaboratory

解决方案


推荐阅读