Questions tagged [inspect]
DO NOT USE! THIS IS AMBIGUOUS. You might be looking for [web-inspector].
614
questions
0
votes
2
answers
57
views
How to get all declared or just typed parameters of a class
How to write a function that prints out all attributes of a class with types?
class Parent:
parent_param: str
parent_default: str | None = None
def find_params_meta(self):
...
...
0
votes
0
answers
40
views
Nuxt 3 / Vite 3 / Vue 3 Application not performing well in the browser (using Mac)
I still don't have many components, despite I have a dynamic component , I've added configuration to auto imports of components to work, the main issue is that when doing npm run dev, the application ...
0
votes
1
answer
66
views
From inside a python function, use a var representing the func object, to get the func's parameters and the values supplied
The first line of the code in the function, 'func', below is a print statement. It prints/generates the following sort of cross between a tuple and a dictionary, (to the right of the first equals sign)...
0
votes
0
answers
8
views
how to Hover Ground into inspect
my ground seems error at inspect on live server, but at vscode there's no problem appear.
i've tried to see it one by one but still not get what makes ground error in the inspect. somebody told me to ...
1
vote
0
answers
31
views
Optimizing UI Element Search in a Large, Static Desktop Application
I'm currently working on recording data from a desktop application with a relatively static UI structure. The UI includes elements like comboboxes, checkboxes, grids, and buttons. However, when ...
0
votes
0
answers
21
views
How can I view the text of items in a Listbox using inspect.exe in a Windows application?
When I use inspect.exe to inspect a Listbox in a Windows application, I cannot see the text of the items in the Listbox. There is no text in the name, text value, or pattern value. Is the text of the ...
0
votes
0
answers
30
views
In python, can I import to parent stack frame for automating shared imports and variable setting?
I have a bunch of shared imports used in multiple different Jupyter notebooks. It would be nice for me and for users to collect these in one place so that users of the notebooks (exercises) could just ...
0
votes
2
answers
36
views
Exctract data from a web site using inspect element
I need to exctract a list of Accession number.
I am a PhD student in biology working with GEOdatabase on NCBI website which give me datasets of genes.
Each dataset possesses an Accession number, ...
0
votes
0
answers
24
views
Get the site's html code with Python and inspect
Is there a solution to enter a site with Python and run a script in the inspect section and get the html of that site. (it is not possible to get the site's html by get)
I have this script and I tried ...
0
votes
0
answers
16
views
Calendar has no right-click with inspect option
I am using this website here https://uk.investing.com/indices/mining-historical-data to download historical data automatically.
However, the calendar to change dates to 01-01-2010 or 01-01-2015 is not ...
0
votes
0
answers
12
views
Beautiful soup and inspect show different things while scraping [duplicate]
I want to scrape a table from a website. I found all that the 'tr's correspond to the rows of the table, which are under 'table' with class 'StyledTableBody-c11n-8-64-1__sc-8i1s74-0 hLYlju'.
In my ...
0
votes
0
answers
16
views
inspect getsource didn't response with annotation on a class
For exampel I have a class in Python:
def dec(clz):
return clz
@dec
class Test:
pass
when I use insepct.getsource(Test) in python 3.8, the souce code has no @dec
But sourcecode will contain @...
0
votes
0
answers
20
views
Copy and paste form data using Inspect Element
I have a WebPage 'form' in Dev instance where an user can add rows and then manually insert data. I have the same webpage form deployed in another test server without any data in it.
In order to ...
0
votes
0
answers
35
views
How to Get the Children values from Inspect Tool for desktop UI Element
Hi For my desktop automation. I need to fetch the FirstChild, LastChild, Next, Previous, Children values.
Please help me how to get those values in pywinauto and if possible give me python program for ...
0
votes
0
answers
62
views
How to download icons from a webpage through inspect?
I am trying to recreate the youtube home page for which i am able to download the thumbnails and profile pics thorugh inspect, however the same doesnt work for downloading icons like home,library,...
0
votes
1
answer
249
views
Screenshot showing page all broken in Google Search Console by inspect
For some time now, I've noticed that my site developed in WordPress is having this problem and, from what I've researched, it's a technical issue that could harm my SEO.
When I do a Home inspection of ...
0
votes
0
answers
33
views
Python C Extension: check if module attributes are read-only using introspection
I am currently trying to write a Python extension module using the Python C API.
In some of my objects, I am defining read-only attributes using PyGetSetDef descriptors which look as follows:
...
-1
votes
1
answer
32
views
How should I get Chrome element info through Python? [duplicate]
When I right-click part of a webpage in Chrome and select "Inspect," I get the text I need under the "Elements" tab of the "Developer tools" (accessed through F12).
How ...
1
vote
1
answer
124
views
Wrapt: Add attribute to wrapped instance method
I would like to add an attribute called tag to the BoundFunctionWrapper of a wrapt decorated method in order to be able to inspect my instances for methods that have a certain tag value. As I use this ...
0
votes
1
answer
68
views
React buttons only show up when using Inspecton page (Chrome and Edge)
I have a progra that retrieves data and then presents a series of problems to solve. The buttons for the problem flow only show up if I put the page into Inspect mode. This happens on both Edge and ...
1
vote
1
answer
53
views
#inspect on BasicObject oddity
The following happens when inheriting from BasicObject:
class Test < BasicObject
def inspect
"foobar"
end
end
test = Test.new
test.inspect
# => "foobar"
test
(...
0
votes
0
answers
15
views
URL shows 404 in Inspect's network, URL not indexing. Google says Not Found
Network in Inspect after loading the page:
Request URL: https://www.gativan.in/blog/Request
Method: GET
Status Code: 404
Remote Address: 13.227.254.33:443
Referrer Policy: strict-origin-when-cross-...
2
votes
1
answer
719
views
How to get the creation date of a docker volume
How to get the creation date of a docker volume without using the docker gui for windows. With debian linux there is no gui for that.
In VS Code with docker extension there is also no way to see the ...
0
votes
0
answers
31
views
View whole page in inspect/dev tools window
Is there a way so I can see my entire page while having the inspect/dev tools open in google chrome, as it is it is only displaying the far left two inches of the page which isnt particularly helpful ...
0
votes
0
answers
47
views
How to check the container for integrity in podman
I'm trying to check the container for integrity in pacman, but I don't know how to do it
There is an inspect command that outputs the json format
Can you help me figure this out please
I try to use &...
0
votes
0
answers
29
views
Selenium Windows App Driver for Chinese Apps
I am trying to write UI automation using Windows Application Driver (Selenium) for Chinese Apps. But looks like inspect tool doesn't recognizes Chinese characters. Is there a way to do UI automation ...
0
votes
1
answer
27
views
How to find/get class object from a class method, static method or instance method
For example.
class Klass:
def f(sel):
pass
f = Klass().f()
klass = # i want to get Klass object.
I searched a methond in inspect module but I can not find, Actually I find a private ...
0
votes
1
answer
50
views
Rails log in chrome browser [SOLVED]
ActionController::RoutingError (No route matches [GET] "/assets/bootstrap-datetimepicker-standalone.min.css.map"):
actionpack (5.1.7) lib/action_dispatch/middleware/debug_exceptions.rb:63:in ...
0
votes
1
answer
53
views
inspect for functions starting _
I looking at a functions from pyasl module.
from PyAstronomy import pyasl
import inspect
print(inspect.getsource(pyasl.get_lagrange_1))
which shows that the function returns:
return _get_lagrange_123(...
0
votes
1
answer
600
views
service worker doesn't seem to work for Chrome extension
I'm following this tutorial about creating a popup demo Chrome extension. I literally copied all the codes in correct files inside correct paths but the code in background.js doesn't seem to work. I ...
1
vote
1
answer
203
views
Why I am getting double response in chrome inspect -> network?
This is what it look like
Here is my code, can you please help me to find what's wrong I am doing?
I tried different things but it did not work. Photos and codes all given.
const ProductScreen = ()...
0
votes
1
answer
282
views
Using __annotations__ as parameter options for a function in a class
I have a parent class which should set function parameters for init function in child class using annotations.
So:
class Parent:
# check for annotations and set them for __init__ function
class ...
1
vote
1
answer
210
views
Wordpress - Is there a way to see exactly in which file I can find an element's code
Is there a way for me, similar to inspect element, to choose an element and see exactly where the code for the element is written?
It can be a plugin, extension - basically anything. I just need to ...
0
votes
0
answers
229
views
Karate - Robot for WPF Based Desktop application. Unable to identify controls using Inspect.exe as soon as app is launched
I am trying to automate WPF desktop application using Karate Robot DSL.
When I am launching application for the very first time, inspect.exe is unable to identify controls within few tabs unless ...
1
vote
0
answers
68
views
Inspect WKWebview for app running on Mac Designed for iPad
I have been working on an app which run on iOS Device and Mac both. I'm using Mac Designed for iPad option. I want to inspect WKWebview from my app in safari. I am able to inspect WKWebview in iOS ...
2
votes
0
answers
2k
views
How to open "Inspect Element" in electron app
I am learning electron. So I want to open Inspect Element to debug my app.
I already have menu.js.
// @flow
import { app, Menu, shell, BrowserWindow, dialog } from 'electron';
export default class ...
5
votes
1
answer
243
views
Python - Get the source code of the line that called me
Using the python inspect module, in a function, I would like to get the source code of the line that called that function.
So in the following situation:
def fct1():
# Retrieve the line that ...
0
votes
1
answer
447
views
Javascript: Web scraping data tables when site filters don't change anything in site elements
I am scraping the data from the "Scoring Leaders" table on this website: http://www.saahl.ca/leagues/stats_hockey.cfm?clientid=6601&leagueid=30336
I've successfully scraped the data ...
1
vote
1
answer
152
views
Capturing a function call as dict
I'm trying to write a python function decorator, and part of my implementation is that I need to capture the function call and look through the supplied values. I already have the function signature ...
0
votes
0
answers
124
views
gnome inspect, get gtk widget under cursor
I am developing an application that can inspect the GUI of gnome application (inspect any application widget like windows accessibilityinsights not only one app).
I want to know in gtk, is there any ...
0
votes
1
answer
56
views
Selenium : googlemap markers dont appear in my xpath elements?
I would like to scrape some informations from a googlemap applet.
The page is here : http://www.annuaire-des-psychologues.fr/psychologue/limousin/
You can click on the map on items to get informations ...
-2
votes
1
answer
109
views
What is the box on inspect browser
What does this purple box represent when inspecting element in inspect, because it is not a padding, margin or Border and occupies the space inside the div
[1]: https://i.stack.imgur.com/14nnb.png
4
votes
1
answer
790
views
How to get caller name inside pytest fixture?
Assume we have:
@pytest.fixture()
def setup():
print('All set up!')
return True
def foo(setup):
print('I am using a fixture to set things up')
setup_done=setup
I'm looking for a way ...
2
votes
2
answers
1k
views
Parsing out data from pytest assert and converting into a string
I want to collect data about test to an external database, where I would collect all assert and parse the expected value versus the actual result.
To describe what I want in code:
test_something.py:
...
0
votes
0
answers
261
views
Download all PDF links from html webpage from java program using jSoup
I want to download all PDFs from the links in this webpage from my java program - https://www.bseindia.com/corporates/ann.html
I used jSoup to connect to the website and extract all links but it is ...
30
votes
5
answers
6k
views
How to move the CSS Styles part to the bottom in Chrome Devtools?
When i go to Inspect on Google Chrome, i have the HTML and CSS sections in parallel as shown below.
How can i move the CSS part to the bottom while keeping the HTML part above, as shown below?
0
votes
0
answers
41
views
how to pickle/dill only selected method stack
I want to send lean object to another machine for execution of selected method.
I have a class like:
class ToBeSent:
def __init__(self, data_info):
self.data_info = data_info
def ...
0
votes
1
answer
197
views
Why is ' Device Tool (Responsive view) ' in inspect element is viewing a page different from the actual resolution?
I am trying to make a page responsive. My screen resolution is 1536px x864px. For which I am able to see the below the view..
My desktop view
But when I check the same resolution is Inspect element's ...
0
votes
1
answer
168
views
How to fetch variable name from calling python script/file into another file?
Folder Structure:
- main_pkg
- common_libs
- utils.py
- pkg_1
- main.py
- pkg_2
- main.py
utils.py
// Some code here
xyz_var = <GET_IT_FROM_CALLING_FILE>
// Some code here
...
1
vote
2
answers
662
views
How do i inspect all tables in databes mssql by Django inspect
I have mssql database with few tables:
[dbo].[one_table]
[dbo].[two_table]
[model].[three_table]
[model].[four_table]
[plan].[five_table]
my django settings.py:
DATABASES = {
'default': {
...