Representative-elect Alexandria Ocasio-Cortez, a Democrat from New York, smiles after a group photo with the 116th Congress outside the U.S Capitol in Washington, D.C., on Wednesday, Nov. 14, 2018.

During the start of new House member orientation Tuesday, Alexandria Ocasio-Cortez once again stole the spotlight.

The 29-year-old representative-elect and architect of one of the most shocking primary election upsets ever joined protesters in the office of House Minority Leader Nancy Pelosi to demand action on climate change. The self-proclaimed Democratic Socialist railed against Amazon after the corporate titan announced plans to open offices near her deep blue Queens, N.Y., district. Fox News plastered her face on segments warning about the dangers of a "radical" agenda.

At the same time, a less well-known group of freshman Democrats descended on Washington after the party won a House majority in last week's midterm elections. The candidates who flipped at least 35 GOP-held districts include women who spent time in the military and CIA and a former NFL player. Many of those candidates adopted some liberal positions, but ran as pragmatists committed to working across the aisle, if necessary, to reduce health care costs, protect the social safety net and boost wages, among other priorities.

When the group of fresh faces takes office in January, it will set up another debate about just what the party should do with its power — and what voters want in the era of President Donald Trump.

Unabashed liberals including Ocasio-Cortez grabbed headlines across the country by winning a handful of blue House districts and running neck and neck with the GOP in statewide races in Florida, Georgia and Texas. Activists cheered progress by candidates who endorsed some form of free public college, expanded access to Medicare or a minimum wage increase. Republicans led by Trump, in turn, used these candidates to try to stoke alarm that Democrats would lead the country to socialism and ruin.

"Remember, [Pelosi] also has a new group coming in that is much more left, that many have identified as socialism. One of the newest members went to [Pelosi's] office not to sit down and meet with her, but to join the protesters," incoming House Minority Leader Kevin McCarthy told CNBC's "Squawk Box" on Thursday morning, referencing Ocasio-Cortez. "That is a little crazy."

But despite their clear progress this year, self-proclaimed progressives did not take a stranglehold on the House, as Republicans contend. Nearly all Democrats who flipped GOP-held seats were more mainstream candidates — ones who House Democrats' campaign arm would say "fit" their ideologically split districts.

It likely means that — with some exceptions — House Democrats will pursue incremental rather than radical change ahead of a 2020 election in which they do not want to alienate moderate voters who helped them to win the House. They also have to deal with Republican control of both the Senate and the White House, which makes some of their priorities politically impossible for at least the next two years.

Pelosi addressed this reality when she called for Democrats to focus on health care costs, aging infrastructure and corruption in government after the election. She is the frontrunner to become House speaker in January despite facing opposition within her caucus.

"We will strive for bipartisanship. We believe that we have a responsibility to seek common ground where we can," she said at a news conference last week. "Where we cannot, we must stand our ground, but we must try."

By digging in, Democrats will have to balance a desire to reshape policy with a reluctance to push voters back toward Trump. Groups who have cheered the midterm results as a triumph for pragmatism worry about the party moving too far, too quickly on issues such as health care and investigating the Trump administration.

The Democrats who won the House

Win McNamee | Getty Images

Newly elected members of the House of Representatives Abigail Spanberger (C) (D-VA), Mikie Sherrill (L) (D-NJ) and Chrissy Houlahan (D-PA) take a selfie in front of the U.S. Capitol following an official class picture of new representatives on November 14, 2018 in Washington, DC.

Democrats have already flipped a net 35 Republican-held House districts, with six races still undecided and more pickups possible. The party will easily top the net gain of 23 seats it needed to take a House majority.

The vast majority of candidates preferred by the Democratic Congressional Campaign Committee — the Democrats the party felt were best equipped to win in battleground districts — prevailed in primaries this year. The trend mostly carried over to the House elections last week.

Very few Democrats who flipped House seats or lead in undecided races could be considered unabashed liberals. The most notable exception is Katie Porter, an acolyte of Sen. Elizabeth Warren who apparently beat GOP Rep. Mimi Walters in California's 45th District, according to NBC News. She has pushed for a Medicare for all system, stricter banking rules and debt-free public college.

Still, groups that support a more center-left approach to policy see the broader election results as an endorsement of what they call pragmatism. They viewed the slate of fresh faces — many of whom had military, national security or executive branch policy experience — as best suited to win over independents and ideologically moderate voters.

"What Democrats succeeded in doing was getting candidates who were well matched to their districts culturally" and "weren't running on uber progressive lines or leaning with ideology," said Will Marshall, president and founder of the Progressive Policy Institute. The organization advocates for center-left economic policy.

Further, self-proclaimed progressive candidates who beat more centrist primary opponents such as Kara Eastman and Dana Balter failed to beat House incumbents in Nebraska's 2nd District and New York's 24th District, respectively. But it does not mean the party's left flank lacked victories this year.

Ocasio-Cortez knocked out the third-ranking House Democrat, Rep. Joe Crowley, who many party activists felt was too beholden to corporate interests. Young, self-described progressive women such as Ilhan Omar, Rashida Tlaib and Ayanna Pressley won in other blue House districts. In January, Omar and Tlaib will become the first Muslim women in Congress.

Some groups on the Democrats' left flank saw victories even in largely mainstream representatives-elect from swing districts. Across the country, many Democratic candidates swore off corporate political action committee money, noted Waleed Shahid, communications director for Justice Democrats, a liberal organization which backed candidates such as Ocasio-Cortez.

"We are starting to see a much more diverse and progressive Democratic Party than the corporate, centrist Blue Dogs of 2006 and earlier," Shahid said in an email. "Democrats who are pro-life, pro-NRA, 'tough on crime,' and supporting trickle down economics are all but gone."

Democrats see rejecting that campaign cash as a key part of their anti-special interest messaging. They hope to further that agenda with legislation meant to root out corruption after they take power.

Shahid also noted that multiple representatives-elect who carried battleground districts endorsed Medicare for all. Those Democrats include Porter, Josh Harder in California's 10th District and Colin Allred in Texas' 32nd District. Others, such as Antonio Delgado in New York's 19th District and Sean Casten in Illinois' 6th District, endorsed a public option to allow people to opt into Medicare.

The Democratic path forward

Tom Williams | CQ-Roll Call Group | Getty Images

Members-elect Lauren Underwood, D-Ill., and Colin Allred, D-Texas, arrive for New Member Orientation at the Courtyard Marriott in SE, on November 13, 2018.

The divergence in views within the Democratic Party leads to a range of opinions on what the party should do with its power. For example, pockets of the political left would seek varying solutions on health care: from protecting and shoring up the Affordable Care Act to allowing a Medicare public option to Medicare for all.

As of now, it appears Democrats will largely push for incremental, broadly popular changes while fighting against parts of Trump's agenda. They will aim to pass legislation to stabilize Obamacare costs and trim Medicare drug prices, according to Pelosi. They will push for legal protections and a potential path to citizenship for young immigrants brought to the U.S. as children, and seek tighter background checks for gun purchases.

Democrats look set to push back against Trump's effort to cut regulations on businesses. For instance, Rep. Maxine Waters — who is set to take over the House Financial Services Committee in January — said this week that weakening regulations on banks will "come to an end" when Democrats take power. The party could also try to make tweaks to the Republican tax plan passed last year, which Democrats have criticized as too beneficial for corporations and not helpful enough to working class Americans.

They also appear set to launch various investigations into the president and his Cabinet. And although a handful of House Democrats such as Waters have pushed for Trump's impeachment, Pelosi and other leaders of the caucus have dismissed that prospect. They worry a push to remove the president from office could galvanize Republicans and alienate moderate voters.

The party's liberal wing has already started agitating for more drastic steps. Ocasio-Cortez and other Democrats are pushing for a plan to move to 100 percent renewable energy in the coming years, on top of Pelosi's pledge to resurrect a select committee on global warming.

The effort echoes a call for more dramatic action from Justice Democrats and other liberal groups. Shahid said Democrats need to use their power to hold Trump accountable and also seek "bold solutions" to address inequality, racism and climate change.

Indivisible, a group that helped to give Democrats grassroots support in this year's elections, released a new version of its guide for activists after the midterms. It includes one potential approach for how the party can use its power.

The group has pushed for Democrats to use a two-part approach in the House, passing so-called messaging bills for priorities that will not gain Republican support, and using important legislation such as funding bills to extract concessions from the GOP. Indivisible has also supported Pelosi's bid for the speaker's gavel, and called on her to put freshmen representatives such as Tlaib on key committees.

Pelosi, who represents San Francisco, casts herself as a progressive despite the demands of leadership that require cooperation with Republicans.

For groups such as the Progressive Policy Institute, the election was a nod of approval for center-left solutions. Marshall said he is "not sure there's a public appetite for the highly federalized expansions of federal power."

He added that Democrats have to find a balance of appeasing liberal activists and the type of centrist voters who helped the party to win swing districts. He thinks that, if Democrats would lose the House or presidential election, it would be because of overreach.

"We just caution Democrats not to fall into the trap that thinks bold is big government initiatives that are likely to repel the kind of voters that brought Democrats to victory," he said.

Clarification: Sean Casten ofin Illinois' 6th District endorsed a public option to allow people to opt into Medicare.