When you ask Chrome to View/Source, it resubmits your URL as a GET, even if it got there in the first place as a post. Is there some way around this for those of us debugging JAX-RS services invoked from forms that can't work with GET?
Two workarounds from this page:
http://www.google.com/support/forum/p/Chrome/thread?tid=1082a452e274f6db&hl=en
Find a working View Source plugin such as "View Source With": http://members.iinet.net.au/~bertdb/ryan/ViewSourceWith/help.html
Workaround:
Open developer tools.
Turn on resource tracking
LEAVE THE TOOLS OPEN. Click on Elements.
Top half should be page. Bottom half should be source code.
Click the Submit button in the top half. Your source code should now update to the proper POSTed source.
CTRL + SHIFT + I
Related
I have to build some cascading multi select input controls in JasperServer Report, but I'm having the same problem as this guy here:
http://community.jaspersoft.com/questions/844760/creating-cascading-input-control-multi-select-input-control
The thread is very old, and people replied him to search for a "Cascading_multi_select_report" sample. I've searched for it, but I couldn't find it anywhere.
I'm struggling to make this type of cascading input control... Does anyone have any idea?
Thanks!
I don't have an answer for this, but I may have an answer to help you debug. Whenever you are trying to run your report on the jasper server and are just getting a blank page (no input controls), you can use Chrome developer tools or Firebug or whatever browser web developer tool you use (usually Ctrl + Shift + Q will pull it up) and in the Network pane, you can see the requests. Find the last GET request, and look at the response for it and you can see the error.
I've a legacy app that features a DND from a popup window to the main one.
It works fine in IE 8 but not in any of the newer versions of IE. The effect results in the drag ghost image being stuck in the source window and not going away after the drop had occurred.
Some debugging did in fact confirm that the 'mouseup' event does not get propagated back to the source window. What can be done to fix it? Many thanks!
ITs a bit hard to begin to answer your question without some code....
use the File>Properties menu to find out which IE security zones the two windows(domains) map too...IE uses a different security model to other browsers... drag/drop is probably not allowed between local web files (using file: protocol) and internet or intranet sites.
Have you used the Dev tool yet to debug it? If you are using showModalDialog (which normally disables context menus) you can right click on a link (a) or input element to display the context menu so you can display the debugger for showModal content page.
If possible include a link to your website or a mashup (jsfiddle) with your questions.
I tried it by right clicking on the web page and there is no xpath icon. So how can I make visible the xpath of the web page. Please reply soon. Now I am learning on cucumber automation testing. It is very important to know how to find the xpath of the web page.
You can also use ChroPath to find xpath of an object. Chropath is an extension of chrome browser. It gives value of selected object. Can be seen in Developer tool only.
The java side of this may let me down, but is there a specific reason you need the xpath rather than the css selectors?
But answering your question, if you use chrome and right click on the element you want to find the selector for. The select inspect at the bottom of the menu. This will open the dev tools at the bottom of your browser.
Find the element you want to target, right click that (within the dev tools) then expand the copy list in the menu and select copy xpath. If you look at the screenshot you can see that I can copy the xpath of the google logo
I have a question about a Google activation link.
When you create a new mail address, you receive a link like this (Fake One):
https://mail.google.com/mail/f-%5BANGjdJ_8Z7Enk13564864AE8hEWwrsY99osK-inpSk80nHe7HE7JAERuQF1TdJXVV_opJW-u74RImwgQa3oP91O2xiPax_Y-v3LduJD2zQ%5D-CiZzUTW_oOmBqJeFB_oq6u-RoTu
But what is that? How is it generated ?
f-%5BANGjdJ_8Z7Enk13564864AE8hEWwrsY99osK-inpSk80nHe7HE7JAERuQF1TdJXVV_opJW-u74RImwgQa3oP91O2xiPax_Y-v3LduJD2zQ%5D-CiZzUTW_oOmBqJeFB_oq6u-RoTu
?
For my website, I use GET information with a token in the link.
If someone know that :)
Thanks
First of all, to open links in a new tab, so you can go back easily, use this shortcut: CTRL + left click.
And now, for your question:
Google makes their links and codes hard to decipher, in order to prevent anyone from copying their ways of doing things.
Just like when you search something on Google, it says google.com/query-your-search-words-or-whatever but also with a whole longer code after.
For example, just the homepage gets a link like this one:
https://www.google.it/?gfe_rd=cr&ei=pB4cVtLLBNKs8wfKyISQDQ
And, when you view the code of Google's home page: are we serious? (if link doesn't work, go to https://www.Google.com , then hit CTRL + U (Command + Option + u on Mac).
This can't be necessary, right?
All the best!
How to search through all the ajax responses in network tab in Chrome?
I want to do this is because it is difficult for a JavaScript developer to get to know which information is coming from which service call, especially if you are new to the project and business logic is not clear. Also, opening each service in a network tab and searching in responses of so many service calls is difficult and time consuming.
This has now been implemented on the Network tab. Whenever a search criteria is added, Chrome will offer searching through all headers and bodies.
More from offical doc,
Open the Network panel then press Command+F (Mac) or Control+F (Windows, Linux, Chrome OS) to open the new Network Search pane.
This is similar to another question this morning to search json responses. The solution is the same, star this issue this issue. Starring is triggered via the star icon in the far left area of the blue title are just under search.
Starring issues let's the developers know what people need. The more stars something has, the more likely it is to get worked on sooner.
Currently this functionality is not provided and extensions are unable to add this type of functionality since the network panel isn't extensible in this way.
In Firefox you can save all the responses as a HAR file and then search through the file in a text editor (Chrome truncates the responses).
Inspector of Microsoft Edge browser offer such feature. Useful when you need to search through traffic made by an HTTPS web site that Fiddler cannot inspect (like Facebook web site).
There doesn't seem to be a way to do this in Chrome or Firefox. My solution has been to use Fiddler, which does support it.
Edit: I believe this was working for all resources at the time of writing, but please see comments because people say it is not/no-longer working as expected.
As of Chrome version 91, if you want to search through all resources (not just AJAX/fetched resources), then you need to open DevTools and then press Ctrl+Shift+F to open a search box. If you just type into the "filter" text input then it only searches through the URLs, rather than also searching the contents.