Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Trouble Setting Up Selenium with FireFox (Python 3 on Windows 10))
Post: RE: Trouble Setting Up Selenium with FireFox (Pyth...
Thanks for the reply. Python 2 did not require the location of firefox itself. I didn't know that was needed for python 3. That seems to have gotten me over that hump. |
|
gw1500se |
General Coding Help |
5 |
1,458 |
Oct-07-2024, 05:56 PM |
|
|
Thread: Trouble Setting Up Selenium with FireFox (Python 3 on Windows 10))
Post: RE: Trouble Setting Up Selenium with FireFox (Pyth...
Thanks for the reply:
Traceback (most recent call last):
File "C:\cygwin64\home\MyID\spamcop.pyw", line 28, in <module>
driver=webdriver.Firefox(service=service,options=options)
File "C... |
|
gw1500se |
General Coding Help |
5 |
1,458 |
Oct-07-2024, 01:48 PM |
|
|
Thread: Trouble Setting Up Selenium with FireFox (Python 3 on Windows 10))
Post: Trouble Setting Up Selenium with FireFox (Python 3...
I have a script that used to work with Python 2 and I have upgraded to Python 3. I have been going in circles trying different suggestions for solving my problem but nothing has worked. I get the err... |
|
gw1500se |
General Coding Help |
5 |
1,458 |
Oct-04-2024, 04:29 PM |
|
|
Thread: Need Selenium Help with Popup
Post: RE: Need Selenium Help with Popup
That doesn't seem to work but I have more testing to do. In the mean time does geckodriver use the same cookie and profile location as the browser itself? I can log in from the browser without the coo... |
|
gw1500se |
Web Scraping & Web Development |
4 |
1,020 |
Jul-08-2024, 08:16 PM |
|
|
Thread: Need Selenium Help with Popup
Post: RE: Need Selenium Help with Popup
Thanks. I'll give that a try. |
|
gw1500se |
Web Scraping & Web Development |
4 |
1,020 |
Jul-08-2024, 03:23 PM |
|
|
Thread: Need Selenium Help with Popup
Post: Need Selenium Help with Popup
I'm trying to write a script (Python 2) to log in to a web site. However, in doing so there is a popup that occurs (allow cookies) preventing me from filling in the login. I have the following functio... |
|
gw1500se |
Web Scraping & Web Development |
4 |
1,020 |
Jul-07-2024, 04:11 PM |
|
|
Thread: Installing mailjet_rest for Python 3 while Python 2 is installed
Post: Installing mailjet_rest for Python 3 while Python ...
I'm trying to convert my python script from version 2 to 3. I need mailjet_rest but I cannot figure out how to install it for version 3. When I run pip3 to install it, it tells me it is already instal... |
|
gw1500se |
General Coding Help |
0 |
439 |
Jun-12-2024, 06:23 AM |
|
|
Thread: boto3 Help Needed
Post: boto3 Help Needed
I'm just getting started with boto3 and AWS. I found this article and tried the sample code. I don't know if the sample code is wrong or if I need to be looking at something else. The bottom line is t... |
|
gw1500se |
General Coding Help |
0 |
1,088 |
Jul-30-2022, 04:06 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
Not sure how to explain it. What I call the GUI is the window created with all the widgets on it which I THOUGH was the top window but opens minimized ("Do Not Call Interface" is the window title that... |
|
gw1500se |
GUI |
24 |
8,727 |
May-05-2022, 03:31 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
As I showed earlier in the thread, if I remove the hide, then that weird blank window shows up but the GUI still opens minimized. |
|
gw1500se |
GUI |
24 |
8,727 |
May-02-2022, 05:59 PM |
|
|
Thread: Selenium Window Not Closing
Post: RE: Selenium Window Not Closing
Thanks. As you analyze this (code is sanitized) keep in mind that the issue appears to be some difference between 3.8 (which works) and 3.10 or perhaps Windows 7 (using 3.8) and 10 (using 3.10).
impo... |
|
gw1500se |
Web Scraping & Web Development |
4 |
3,881 |
May-02-2022, 02:23 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
It has to be some difference between 3.8 and 3.10 or Windows 7 vs 10. |
|
gw1500se |
GUI |
24 |
8,727 |
May-02-2022, 02:17 PM |
|
|
Thread: Selenium Window Not Closing
Post: RE: Selenium Window Not Closing
Thanks. I was using browser.quit() under 3.8. I tried browser.close() under 3.10 and get the same result. Not sure I described it right but it is the command window that is not closing but rather retu... |
|
gw1500se |
Web Scraping & Web Development |
4 |
3,881 |
Apr-30-2022, 11:34 PM |
|
|
Thread: Selenium Window Not Closing
Post: Selenium Window Not Closing
I have moved a script from Python 3.8.13 (Windows 7) to Python 3.10.4 (Windows 10) and there seems to be several differences I don't understand. I am using Selenium to web scrape via Firefox and all i... |
|
gw1500se |
Web Scraping & Web Development |
4 |
3,881 |
Apr-29-2022, 05:37 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
(Apr-22-2022, 06:02 PM)deanhystad Wrote: Is the top window minimized when you run this:
No |
|
gw1500se |
GUI |
24 |
8,727 |
Apr-29-2022, 05:27 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
(Apr-22-2022, 04:38 PM)deanhystad Wrote: When you run the code are you seeing the msgPanels that say "Copy line from Phonetray panel" or "Setting up user input"?
Have you verified that the program ... |
|
gw1500se |
GUI |
24 |
8,727 |
Apr-22-2022, 05:01 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
OK, Here is the entire code (Sanitized):
import win32gui as win32
import win32api
import win32con
import re
import win32process
from win32gui import GetWindowText,GetForegroundWindow
import pyperclip... |
|
gw1500se |
GUI |
24 |
8,727 |
Apr-22-2022, 02:52 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
That call prevents a blank window from covering up other instructional windows (see attached). It does not change the way the script works. The GUI still opens minimized. I'm a Tkinter novice so all I... |
|
gw1500se |
GUI |
24 |
8,727 |
Apr-14-2022, 04:51 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
(Apr-12-2022, 07:14 PM)deanhystad Wrote: That's not a very useful example since it cannot be run to demonstrate the problem. In the real code do you withdraw the top window? If so, how do you make... |
|
gw1500se |
GUI |
24 |
8,727 |
Apr-12-2022, 07:42 PM |
|
|
Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized
(Apr-12-2022, 06:45 PM)Axel_Erfurt Wrote: I mean the code you posted?Oh, no it won't run properly as is. There are many dependencies like Selenium and an application called PhoneTrayPro to make it w... |
|
gw1500se |
GUI |
24 |
8,727 |
Apr-12-2022, 06:58 PM |