問題タブ [stopiteration]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - テキスト ボックスにテキストを入力する際の StopIteration エラー
Python と Selenium を使用して、長い文字列 (約 4000 文字) をテキスト ボックスに入力しようとしています。
文字列全体を入力すると、テキスト ボックス内のすべてが消え、以下のエラーが表示されます。
内部 StopIteration: False
c:\users\echo\anaconda3\lib\site-packages\ipython\core\interactiveshell.py(3058)run_cell_async() -> 対話性 = 対話性、コンパイラ = コンパイラ、結果 = 結果)
デバッグ モードでは、send_keys("aapl") でテストしましたが、正常に動作しましたが、長い文字列では動作しませんでした。ループも正常に機能し、コンマで区切られた約 800 個の記号を含む文字列を提供します。
私のコード: