On the other hand, it does seem to make these questions more clear.
It could, in some cases. I checked out the first example, and found that it was a complete mess, both before and after.
There was quite a bit of noise in the post - things like "I am new to " and "I had some concern" and "please let me know about this" are all supposed to be removed; OP managed to blend all three of those into a single sentence and lead off with it.
There were numerous grammatical errors ("In new environment..."; repeated incorrect choice of their/there) and a huge run-on sentence. Rearranging into the bullet-point structure helped only slightly with this.
Because the overall question is so short, I don't feel that it benefits from a heavyweight restructuring into separate "environment" and "questions" section. While there are technically are multiple sentences here that should end with a question mark, they do coherently ask about one specific thing. Labelling a section as "Questions" falsely gives the impression that it's okay to ask multiple questions in one post.
Worse, simply splitting the prose into parts and aligning them with bullet points doesn't necessarily make a coherent bulleted list. In particular, the "or" in "or is their[sic] any other way to do this?" should at least have been dropped for this attempt. On the other hand: while the questions are all questions, the bullet points in the environment section are not coherently... "environment", whatever that means. There are two things being said, but they don't relate to each other. They don't make sense as items of a list, so they shouldn't be formatted with bullet points.
Aside from the failure of these formatting devices, the editor actively made the formatting worse by introducing code formatting for jargon terms. Please do not use inline code formatting like this. It is for code. In a broad sense, sure, but still - use it for things that are actually typed as a part of creating an MRE, or that are proposed to be typed as part of the solution process.
Don't use inline code formatting for the names of languages, tools or libraries, except when showing code to import a library. Don't use it for language concepts ("To solve this problem, start by writing a class that does..."); do use it for language keywords being used as keywords in the context of that sentence ("a class
declaration is not valid in this context because...") and actual code excerpts ("an error was reported on the line class Example []
because FooLang does not use square brackets to..."). Especially don't use inline code formatting for generic programming concepts (like "runtime", as here, or "IDE").
I gave the question a complete re-edit, although I think it still lacks clarity (my best guess is that OP wanted to do something along the lines of, asking Selenium to click an element in the page based on screen position, and then use some other code to determine which element was clicked and construct an XPath that selects that element). In particular, OP's use of the term "item" didn't make a lot of sense to me (I didn't want to assume that it was intended to mean "tag" or "element").