DO NOT USE! THIS IS AMBIGUOUS. You might be looking for [web-inspector].
Questions tagged [inspect]
610 questions
0
votes
2 answers
Access enclosing "with" statement implicitly
I am working on something like a logging component and I want to use it like this:
with logging.Log(context='A', message='msg1') # with1
do_stuff()
As you can see Log implements a with statement context manager. Furthermore Log stores context…

Lars Schneider
- 5,530
- 4
- 33
- 58
0
votes
0 answers
Chrome Extension: How To Inspect A Javascript File That Is Only Loaded When A Context Menu Action Is Performed?
I am writing a Chrome extension that adds a context menu item and performs an action when the user right-clicks a YouTube hyperlink.
My manifest file defines the background script as well as the javascript that is run when a link is clicked. Here…

AClockworkOrangutan
- 69
- 1
- 7
0
votes
1 answer
Chrome cannot inspect webpages on Android
Like the image above. Chrome CAN detect opened webpages on device but CANNOT inspect them (click 'inspect' and the opened page is constantly loading and there is no content on it).
The reason may be that my PC that is running Chrome has no Internet…

Viky Leaf
- 195
- 3
- 16
0
votes
3 answers
How can I detect if the caller passed any variables to my function in Python?
I guess the subject sounds pretty stupid, so I'll show some code:
def foo(**kwargs):
# How can you detect the difference between (**{}) and ()?
pass
foo(**{})
foo()
Is there any way to detect inside of foo, how the method was called?
Update…

Felix Schwarz
- 2,938
- 4
- 28
- 41
0
votes
1 answer
How can I preview my web page on mobile platforms via the inspect element in Google chrome?
I'm trying to develop a website that is mobile compatible and I want to see a preview of how my pages would look like on the phone.
I'm using Google chrome to preview my pages, is there a way to preview the mobile version in Chrome's inspect…

Safaa Eek
- 51
- 2
- 10
0
votes
1 answer
How to dynamically load a class in different location and get the method names in the class in python
I have wriiten the Simple class .py file which has the class
class Employee:
empCount = 0
def __init__(self, name, salary):
self.name = name
self.salary = salary
Employee.empCount += 1
def displayCount(self,salary):
print "Total…

user3824589
- 49
- 9
0
votes
1 answer
Inspecting element on wordpress website shows wrong line number
Whenever I inspect an element on my wordpress website it shows the element as being on line 1 of http://localhost/wordpress/wp-content/themes/ignite/style.min.css?ver=1.19 instead of the correct line in "style.css".
Can someone please let me know…

user3164083
- 1,053
- 6
- 18
- 35
0
votes
1 answer
How to find a
(or space) from css that I easily found in Inspect Element, to delete it?
I would like to know if someone would be able to help me;
I'm not an export at all in designing websites, but I have come very close to what I want to achieve. The problem I have I can easily find it and fix it on Chrome's 'Inspect Element', but not…
0
votes
1 answer
Inspect Element - CSS hover over
Anybody have any tips on trying to change the color of the content background on the Icons when you hover over them and the content box shows up.
I just can't seem to inspect the area, because I cant get my mouse to inspect the background because…

user2898224
- 57
- 1
- 1
- 8
0
votes
1 answer
open 2nd python console to probe run-time variable?
Python infinite loop code below:
i = 0
while True:
i = i + 1
I know I can use import IPython; IPython.embed() or import pdb; pdb.set_trace()
to pause loop running and get value of i --- run-time debug.
however, what I want is if I can…

K. C
- 735
- 2
- 8
- 25
0
votes
1 answer
How do you set extra "access names" for a Windows control object?
Is it possible to set Windows access names for form controls on a dialog? If so, what is the API call to do so?

Craig
- 4,268
- 4
- 36
- 53
0
votes
1 answer
How to tell PhpStorm inspector about exit()?
I've next case
switch ($var) {
case 'a':
$model = 'x';
break;
case 'b':
$model = 'y';
break;
// others cases ...
default:
// does actions and calls exit(),
// so i don't have to put…

Miraage
- 3,334
- 3
- 26
- 43
0
votes
1 answer
Chrome Inspect Element adds Quotations
When I add the code:
the Chrome inspect element turns the code into this:
Why are the extra quotations being added and how can I get it to function properly.

Zach Brantmeier
- 716
- 3
- 8
- 23
0
votes
1 answer
How do I use inspection to retrieve a list of sub-functions (python)?
How do I use inspection to retrieve a list of sub-functions?
def f( x, y):
def g( a ):
return a + 1
def h( z ):
return b + 1
subs = inspect.getsubfunctions( f )
#Should return [ g, h ]

Quant
- 4,253
- 3
- 17
- 15
0
votes
1 answer
how to get inspect element code using c# 2
I want to get text from URL but text is not shown in source code. I can see it only in inspect element . Is there anyway, in C# to get the contents of Inspect element of the page. I try htmlagilitypack with c# but give null exception.
This is html…

M.Tajari
- 59
- 11