I'm in process of automating browser application and I need to locate first some objects to do proper calculations and continue, they're percent sign and plus icon in circle along with minus in circle from Google Icons, however it doesn't really matter because it can affect everything.
I noticed that depending on browser's windows size, for example when I change its width to see PyCharm windows as well and GUI of my program on my monitor, these elements look different. Please take a look for example at percent sign in magnification:

It's the same sign but one was taken for example when browser's window was maximized and then width changed a little bit. Also percent sign together with any other characters can be different if there are more of them on the same screen (we're omitting resizing matter) although they represent same character.
In result it makes impossible to set pyautogui.locateAllOnScreen settings combinations like confidence and grayscale to make it always work.
Is it common issue and is there any way to correct it by maybe changing browser settings or something in python's code? I assume if object we want to locate is larger then pyautogui doesn't have so much doubts.
My only idea is to make more png screenshots for the same objects I want to locate and check for all of them.
Results of locating small objects with pyautogui change depending on browser's window size
30 Views Asked by Jacob At
0
There are 0 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in BROWSER
- (in promise) TypeError: NetworkError when attempting to fetch resource
- How could i add a bookmark and tabs function in PySide6?
- Difficulty Accessing HTTP URLs/IP Addresses Due to Browser Redirecting to HTTPS: Seeking Solutions
- Can be their an extension to save pages in as offline in the browser itself?
- Connecting puppeteer to an existing Brave Browser instance using
- How can I modify javascript native fetch function from an extension?
- Update your browser to use...in android webview application
- Why does throwing an error in any browser developer console not get caught by window.addEventListener('error')?
- The javascript and css files cached by chrome do not belong to the same version
- Unlike chrome Unable to create multiple instance of sidepanel while creating extension for edge browser
- Cannot import a class from a WebPacked javascript file
- How do I keep the same time input style in both firefox and chrome
- Use GUI application on Github Codespace
- get cpu / gpu capabilities from client in react / typescript?
- How to close a browser context after multiple test is written in same file
Related Questions in WEBBROWSER-CONTROL
- C++ Get file content from the DLL resource
- WPF How to show a MemoryStream PDF document to a WebBrowser
- Determine if an IHTMLTxtRange object is visible
- Results of locating small objects with pyautogui change depending on browser's window size
- WebBrowser.Navigate does not appear to be returning DocumentText
- Capture a screenshot of HTML content using a WebBrowser control
- Set Attribute of DOM-Element in C# With the webBrowser in Windows Forms
- What methods exist to copy a gif to the clipboard and post it into other applications?
- the code gets stuck after I select the word file
- Windows Forms WebBrowser: CTRL+F Search doesn't find anything
- How HTML & CSS Code Can Be Used to Print POS on vb.net
- WPF WebBrowser-Control open Link in Internet Explorer
- VBA webbrowser findtext next occurrences
- How to set Paper Size A5,PageOrientation,Set name Printer in a web browser control with code in VB.NET
- why does my web browser's PrintPreviewDialog display become small when loaded in vb.net
Related Questions in PYAUTOGUI
- Automatic inputs in Chromium are filled randomly
- Trouble finding an installed version of PyAutoGui
- What is the difference between Python's pyautogui.PAUSE and time.sleep?
- How can I on mac using python press keys in other applications?
- Storing/Retrieving array images with Pyautogui (AttributeError: 'Image' object has not attribute 'read')
- Execute PyAutoGUI code on second MacBook Pro desktop
- how do you extract an the shape of an object?
- Is there a shorter way to check a condition before each line of code without repeating the condition?
- Can PyGetWindow help Screenshot?
- Click on every circle on screen with python
- Python Modules/Libraries to correctly work in CronJobs
- press "_" or ":" with pyautgui (python3)
- Trouble installing PyAutoGUI on Python 3.8 (64-bit Windows)
- How do I fix the error FileNotFoundError: [Errno 2] No such file or directory?
- Double clicking a python file doesn't have the same result as running through cmd
Related Questions in WEBFONTS
- Is there @font-face support in gmail — via iOS Mail
- Change font-display - when I don't control @font-face stylesheet
- Results of locating small objects with pyautogui change depending on browser's window size
- Performance issues on Chrome when painting many characters at 80-130px font-size range
- Font Assets not loaded on mobile
- Different browsers are using different fonts
- Browser default font loads instead of fallback font
- How to load google or custom fonts in emails
- I am not getting "CSS rules to specify families" in google fonts
- Nabla font doesn’t have the correct fill color on iPhones
- Partial display of text
- Create react app how to make font accessible on other devices
- Webfonts not working in mail loaded via stylesheet `link`
- @font-face doesn't seem to be displayed, although it is being downloaded
- Unable to Identify Icon Set Family
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?