Closed bettyteng21 closed 11 months ago
請多描述一下你在甚麼情況下遇到這個bug,是在initialization?click TBot之後?然後標題也盡量多一點描述,感謝
Betty講的terminal 是什麼意思?這個問題就是我們沒有把firefox的geckodriver開動起來,有可能是執行檔案的位置錯誤。 這邊有點亂,最好是我把這段程式碼加入Betty為git collaborator,然後告訴你哪裡錯了。由Betty幫我們改好,
OK?
後來不知道為什麼就突然好了
Whole Error Message
```bash Exception has occurred: SessionNotCreatedException Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 13381, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 15296, in webDriverManagerFromForum File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 71250, in start File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 71189, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 29769, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 39759, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 33578, in startMegaTBot selenium.common.exceptions.SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line ```