Questions tagged [inspect]

DO NOT USE! THIS IS AMBIGUOUS. You might be looking for [web-inspector].

610 questions
2
votes
1 answer

Windows UI Automation tools (Visual UIAVerify, Inspect.exe) recognizes the Buttons as Pane

I am using UI Automation library - TestStack.White to automate a Windows Application, where I utilize Inspect.exe to get the UI Elements from the WinForms. I have had no issues with the Inspect.exe so far except currently I am stuck with an issue in…
2
votes
2 answers

How can I see attributes on a python namedlist object?

I have been using namedlist to create lightweight classes: from namedlist import namedlist # create a class SomeClass = namedlist('SomeClass', 'foo bar', use_slots=False) # create an object my_list = SomeClass(1,2) # set an attribute not specified…
MatrixManAtYrService
  • 8,023
  • 1
  • 50
  • 61
2
votes
1 answer

How to inspect only new Java code?

I need to ensure that lines are no more than 80 characters long and that all variables are final (but this restriction only applies to new code). Using IntelliJ inspection, is there a way to check only newly-created code? By new, I mean that I've…
Speise
  • 789
  • 1
  • 12
  • 28
2
votes
1 answer

Is there any equivalent of python's inspect.getargspec in javascript/node.js?

I want to get a list of argument names of Function, for example: var f = (a, b, c) => console.log(a, b, c); var [fargs] = something.like.inspect.getargspec(f); console.log(fargs); // ['a', 'b', 'c']
user6262880
2
votes
2 answers

How can I see Python's __builtins__ source code?

Can I get python to print the source code for __builtins__ directly? OR (more preferably): What is the pathname of the source code for __builtins__? I at least know the following things: __builtins__ is a module, by typing type(__builtins__). I…
user4071254
2
votes
2 answers

Chrome: Inspect element tree position lost after page reload

during localhost developing I inspenct element and add some css rule, when it's ok I write changes in css file, after this I reload page to see if all is in the exact position, but tree position of elements are lost during refresh! Every time I…
Cristian
  • 329
  • 2
  • 6
  • 14
2
votes
1 answer

Many requests to server with dojo

dojo.require("dijit.Dialog"); dojo.require("dijit.form.Form"); dojo.require("dijit.form.Button"); dojo.require("dijit.form.DateTextBox"); dojo.require("dijit.form.TimeTextBox"); dojo.require("dijit.form.ValidationTextBox"); dojo.require("dijit.layout…
Santy SC
  • 497
  • 5
  • 4
2
votes
1 answer

How to access a FREE variable of a function from outside

Let's consider we have a function and an inner function like this (which we can not change): from functools import wraps def outer_f(some_callable): def inner_f(v): return some_callable(v) + 1 return inner_f And we only obtain a…
functure
  • 23
  • 4
2
votes
3 answers

Python, listing the attributes of a parameter

This question may be a little green. In the example below, I am trying to find out a list of the attribtues from the "message" parameter. @respond_to("^meow") def remind_me_at(self, message): fre = "asd: %s " % str(message.sender) fre =…
laycat
  • 5,381
  • 7
  • 31
  • 46
2
votes
1 answer

How to run custom IntelliJ inspections from terminal

so I'm currently trying to run IntelliJ's code inspector from the command line, but I can find where to put in a custom scope. There is an option for custom directories to scan, but nothing for plugging into their custom scope language. Has anyone…
iHowell
  • 2,263
  • 1
  • 25
  • 49
2
votes
1 answer

python inspect module positional_only param

Value must be supplied as a positional argument. Python has no explicit syntax for defining positional-only parameters, but many built-in and extension module functions (especially those that accept only one or two parameters) accept…
demalegabi
  • 577
  • 6
  • 19
2
votes
1 answer

Chrome://inspect without internet connection

I have been developing a website for a project targeting mobile phones and tablets, currently focusing on using the chrome browser. Much of this development has been done on one phone using a laptop. I had been using the "chrome://inspect/#devices"…
Alex
  • 21
  • 1
  • 5
2
votes
1 answer

Why do I get a Encoding::CompatibilityError with #inspect?

The following code works without problem: #encoding: utf-8 class Text def initialize(txt) @txt = txt end def inspect "" % @txt end end p Text.new('Hello World') But if I try p Text.new('Hä, was soll das?') I get a…
knut
  • 27,320
  • 6
  • 84
  • 112
2
votes
1 answer

How can I inspect element like in Firebug via JavaScript?

I need to have a user poke at an element on a website, almost exactly like with Firebug as a developer. Does anyone know a simple way to do this in JavaScript, or a library like YUI or jQuery?
Kristopher Ives
  • 5,838
  • 7
  • 42
  • 67
2
votes
2 answers

Get the inspect element variables from a website - Java

I have successfully saved the source code of a webpage but some webpages dynamically serve the info. That makes it so I cannot get the info that’s on the page.. If I right click and "inspect element" it’s there.. Is there any way to copy what is…