H1-B visas are non-immigrant visas so anybody coming in on one knows it's finite then they need to leave after the fact (assuming they don't change status).
On paper it's finite, but in practise everyone on H1-B applies for green card asap to get the I-140 approved, and then the H1-B is not finite, you are cap exempt for extensions until your I-485 comes through
And the people on OPT (Optional Practical Training) have F "student" visas, which required them to prove that they needed to get education in the US in order to use it in their home country and have no intention on staying in the US after finishing the education least "building a life" there. Supported by evidence of strong ties to the home country, stated under penalty of perjury.
> H1-B visas are non-immigrant visas so anybody coming in on one knows it's finite then they need to leave after the fact (assuming they don't change status).
So what? I don't see how that's relevant to the question, unless you're being unreasonably legalistic.
Also, I've known only one person in my career who came to the US on temporary visa who intended to leave. Everyone else's ultimate goal was a green card.
I know quite a few, and there was a time where almost everyone I interacted with was an immigrant with an H1-B or OPT, though I think all of them did go to school in the US and got hired as full-time employees through the same process Americans would go through.
I also know immigrants who left after a few years, but only one had planned/wanted to do so from the start (and that's just because he didn't want to bother the uncertainty of trying for an H1-B).